4 Tank::Tank(std::vector<Fish *> fish) : fish_(fish) {}
7 for (
size_t i = 0; i < fish_.size(); i++) {
8 fish_[i]->draw(screen);
13 for (
size_t i = 0; i < fish_.size(); i++) {
Represents the abstract notion of a character-addressable writable screen.
void draw(Screen *screen) const
Tank(std::vector< Fish * > fish)