EventManager.h
1 
7 #pragma once
8 #include "GameManager.h"
9 
16 {
17  EventManager() {}
19 
20 public:
25  static bool Loading;
26 
30  static void Init();
31 
35  static void LoadInitialLevel(GameManager* Lvl);
36 
40  static void SwitchLevel(GameManager* Lvl);
41 
45  static void Rander();
46 
50  static void Update();
51 };
static void Rander()
Renders the current level and any updates
Definition: EventManager.cpp:61
Class for GameManager This class helps to manages the Game Level
Definition: GameManager.h:17
static void Init()
Initialize values and assets for the level
Definition: EventManager.cpp:19
static void Update()
Updates any game behavior based on certain condition
Definition: EventManager.cpp:73
static void LoadInitialLevel(GameManager *Lvl)
Loads the level
Definition: EventManager.cpp:31
static void SwitchLevel(GameManager *Lvl)
Switches level when current level is complete
Definition: EventManager.cpp:45
static bool Loading
This bool tell the game's loading state This prevents rendering while loading assets ...
Definition: EventManager.h:25
Class Manages the different levels that the game may have. It also manage how and when a level should...
Definition: EventManager.h:15
static GameManager * currentLevel
Definition: EventManager.h:18