![]() |
Dauphine
0.1
A platforming/stealth game in a medieval fantasy setting, developed with SDL2.
|
The first level of the game. More...
#include <LevelOne.h>
Public Member Functions | |
| LevelOne () | |
| The constructor. More... | |
| virtual | ~LevelOne () |
| The destructor. | |
| virtual void | load () |
| Loads the level. More... | |
| virtual void | update (const double dt_) |
| Updates the objects within the Level. More... | |
| virtual void | unload () |
| Unloads everything that was loaded. More... | |
| virtual void | render () |
| Renders the level. More... | |
Public Member Functions inherited from Level | |
| virtual | ~Level () |
| The destructor. More... | |
| unsigned int | getWidth () |
| unsigned int | getHeight () |
Public Member Functions inherited from StateGame | |
| virtual | ~StateGame () |
| The destructor. | |
| void | addEntity (Entity *const entity) |
| Adds an entity to the vector. | |
| void | cleanEntities () |
| Deletes all the entities inside the vector. | |
Additional Inherited Members | |
Protected Member Functions inherited from Level | |
| Level () | |
| The constructor. More... | |
| virtual void | setPlayer (Player *const player_) |
| virtual void | setCamera (Camera *const camera_) |
Protected Attributes inherited from Level | |
| unsigned int | width |
| Width that defines the horizontal limits. More... | |
| unsigned int | height |
| Height that defines the vertical limits. More... | |
| Player * | player |
| The direct reference to player, even though its in the list. More... | |
| Camera * | camera |
| The current camera for that level. More... | |
| TileMap * | tileMap |
The first level of the game.
Derived from Level class.
| LevelOne::LevelOne | ( | ) |
The constructor.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
1.8.4