fireworks_erikh/
turtle.rs

1use crate::screen::Grid;
2
3// logo represent
4pub trait Turtle {
5    fn update(&mut self, grid: &mut Grid);
6    fn draw(&mut self, grid: &mut Grid);
7
8    fn tick(&mut self, grid: &mut Grid) {
9        self.draw(grid);
10        self.update(grid);
11    }
12
13    fn finished(&self) -> bool {
14        false
15    }
16}