16 void Init(entt::registry& t_Reg)
override;
19 void Shutdown(entt::registry& t_Reg)
override;
24 void Update(entt::registry& t_Reg,
float DeltaTime)
override;
void ToggleRotation()
Definition: SandboxGame.cpp:300
void OnToggleMoveLights()
Definition: SandboxGame.cpp:281
void SetWindowFullscreen()
Definition: SandboxGame.cpp:326
void LightingTest(entt::registry &t_Reg)
Definition: SandboxGame.cpp:122
void SetWindowBorderlessWindowed()
Definition: SandboxGame.cpp:335
void GenerateTestMeshes(entt::registry &t_Reg)
void OnQuitPressed()
Callback for when the user has given input that shows they want to exit.
Definition: SandboxGame.cpp:74
glm::vec3 MoveDelta
Temp vector for keeping track of the movement of things.
Definition: SandboxGame.h:65
void ScriptingTest(entt::registry &t_Reg)
Definition: SandboxGame.cpp:252
void SetWindowIcon()
Definition: SandboxGame.cpp:291
void OnTestSpawn()
Definition: SandboxGame.cpp:305
The game class is mean to be overridden on a per-game instance.
Definition: Game.h:16
void SetWindowWindowed()
Definition: SandboxGame.cpp:344
Definition: SandboxEditor.h:5
virtual void Init(entt::registry &t_Reg)=0
Called before the first Update tick.
Definition: SandboxGame.cpp:25
void ToggleLua()
Definition: SandboxGame.cpp:286
bool m_DoRotations
Definition: SandboxGame.h:50
void ToggleCursorVisibility()
Definition: SandboxGame.cpp:271
virtual void Shutdown(entt::registry &t_Reg)=0
Definition: SandboxGame.cpp:69
bool m_MovePointLights
Definition: SandboxGame.h:51
bool m_RunLua
Definition: SandboxGame.h:52
void PrintFPS() const
Definition: SandboxGame.cpp:320
virtual void Update(entt::registry &t_Reg, float DeltaTime)=0
Update is called every frame.
Definition: SandboxGame.cpp:80