41 int horizontal_speed_;
Represents the position and velocity of a Shape on an infinite x-y grid.
Fish(Shape shape, int col, int row, int horizontal_speed, int vertical_speed)
void draw(Screen *screen) const
Render to the given Screen. Draws over whatever is already there with no concept of transparency.
void tick()
Update col using horizontal_speed. Update row using vertical_speed.
Represents the abstract notion of a character-addressable writable screen.
Represents an ASCII-art drawing and its corresponding bounding box.