25 unique_ptr<Ball> ball;
26 unique_ptr<Player> player;
27 vector<unique_ptr<Wall>> walls;
28 vector<unique_ptr<Block>> blocks;
33 void checkCollisions();
61 void addBlock(unique_ptr<arkanoid::Block> block);
68 void addWall(unique_ptr<arkanoid::Wall> wall);
75 void setBall(unique_ptr<arkanoid::Ball> newBall);
82 void setPlayer(unique_ptr<arkanoid::Player> newPlayer);
89 bool levelEnded()
const;
The World of the Arkanoid game that contains all Entity objects.
All the game logic of the Arkanoid game.
An Entity represents an "object" (like Player, Ball, Block, ...) in the game World.