38 void Update(
float t_DeltaTime);
44 void LoadLevel(
const std::string& t_LevelPath);
void LoadLevel(const std::string &t_LevelPath)
Load a level into the world.
Definition: World.cpp:44
void Update(float t_DeltaTime)
Tick all active levels in the world.
Definition: World.cpp:30
UINT8 m_ShouldQuit
Definition: World.h:61
The world holds all active levels in the game.
Definition: World.h:17
FORCEINLINE bool ShouldQuit() const
Check if the world wants to exit the program.
Definition: World.h:52
std::vector< std::unique_ptr< Level > > m_ActiveLevels
Currently active levels in the world.
Definition: World.h:59
void PreTick()
Called before the first Update tick on the world.
Definition: World.cpp:25
void Init()
Initializes the world.
Definition: World.cpp:7
uint8_t UINT8
Definition: FlingTypes.h:8
Class that removes the copy operator and constructor.
Definition: NonCopyable.hpp:10
void Shutdown()
Definition: World.cpp:17