#include <class.levelmanager.hh>
Public Member Functions | |
| CLevelManager (SDL_Surface *pTargetSurface) | |
| ~CLevelManager () | |
| void | SetLevel (int iLevelID) |
| Set the next level ID used for CheckAndSwitchLevel(). | |
| int | SetLevelAndSwitch (int iLevelID) |
| Set the next level ID and switch to it. | |
| int | CheckAndSwitchLevel () |
| Check if the level changed and switch to it. | |
| int | GetPreviousLevelID () |
| Get previous level ID. | |
| int | GetNextLevelID () |
| Get next level ID. | |
Public Attributes | |
| SDL_Surface * | mpTargetSurface |
| int | miCurrentLevelID |
| int | miNextLevelID |
| CLevelManager::CLevelManager | ( | SDL_Surface * | pTargetSurface | ) |
| CLevelManager::~CLevelManager | ( | ) |
| void CLevelManager::SetLevel | ( | int | iLevelID | ) |
Set the next level ID used for CheckAndSwitchLevel().
| int CLevelManager::SetLevelAndSwitch | ( | int | iLevelID | ) |
Set the next level ID and switch to it.
| int CLevelManager::CheckAndSwitchLevel | ( | ) |
Check if the level changed and switch to it.
| int CLevelManager::GetPreviousLevelID | ( | ) |
Get previous level ID.
| int CLevelManager::GetNextLevelID | ( | ) |
Get next level ID.
| SDL_Surface* CLevelManager::mpTargetSurface |
1.5.5