The World of the Arkanoid game that contains all Entity objects.
More...
#include <world.h>
The World of the Arkanoid game that contains all Entity objects.
Definition at line 23 of file world.h.
◆ World()
arkanoid::World::World |
( |
| ) |
|
Default Constructor.
Definition at line 20 of file world.cpp.
◆ ~World()
arkanoid::World::~World |
( |
| ) |
|
◆ addBlock()
◆ addWall()
◆ draw()
void arkanoid::World::draw |
( |
| ) |
const |
|
virtual |
◆ levelEnded()
bool arkanoid::World::levelEnded |
( |
| ) |
const |
Checks if the level ended, i.e. when there are no more Block in the World.
- Returns
- True if level ended, otherwise false.
Definition at line 105 of file world.cpp.
◆ reset()
void arkanoid::World::reset |
( |
| ) |
|
Resets the World: Player and Ball will be places in their initial location. Call when new level starts or when game is bugged out...
Definition at line 109 of file world.cpp.
◆ setBall()
◆ setPlayer()
◆ update()
void arkanoid::World::update |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files: