Class Manages the different levels that the game may have. It also manage how and when a level should load and the switching of the levels.
More...
#include <EventManager.h>
|
static bool | Loading |
| This bool tell the game's loading state This prevents rendering while loading assets More...
|
|
Class Manages the different levels that the game may have. It also manage how and when a level should load and the switching of the levels.
: EventManager.h Brian Hinds : 07-02-2017 : 1.0.2
◆ Init()
void EventManager::Init |
( |
| ) |
|
|
static |
Initialize values and assets for the level
This method set the value of current level
<method name="Init"></method>
- Parameters
-
- Returns
- void
◆ LoadInitialLevel()
void EventManager::LoadInitialLevel |
( |
GameManager * |
Lvl | ) |
|
|
static |
Loads the level
This method Initialize the current level
<method name="LoadInitialLevel"></method>
- Parameters
-
- Returns
- void
◆ Rander()
void EventManager::Rander |
( |
| ) |
|
|
static |
Renders the current level and any updates
This method render the graphics for the current level
<method name="Render"></method>
- Parameters
-
- Returns
- void
◆ SwitchLevel()
Switches level when current level is complete
This method switches the current level to a new one
<method name="SwitchLevel"></method>
- Parameters
-
- Returns
- void
◆ Update()
void EventManager::Update |
( |
| ) |
|
|
static |
Updates any game behavior based on certain condition
This method updates the current level
<method name="Update"></method>
- Parameters
-
- Returns
- void
◆ currentLevel
: EventManager.cpp Brian Hinds : 07-02-2017 : 1.0.2
◆ Loading
bool EventManager::Loading |
|
static |
This bool tell the game's loading state This prevents rendering while loading assets
The documentation for this class was generated from the following files:
- C:/Users/BrianHinds/Documents/Visual Studio 2015/esmis/SET TREK/SET TREK/EventManager.h
- C:/Users/BrianHinds/Documents/Visual Studio 2015/esmis/SET TREK/SET TREK/EventManager.cpp