![]() |
Fling Engine
0.00.1
Fling Engine is a game engine written in Vulkan
|
Custom game class that will have control of it's gameplay systems. More...
#include <SandboxGame.h>
Inherits Fling::Game.
Private Member Functions | |
| void | Init (entt::registry &t_Reg) override |
| Called before the first gameplay loop tick. More... | |
| void | Shutdown (entt::registry &t_Reg) override |
| void | Update (entt::registry &t_Reg, float DeltaTime) override |
| Update is called every frame. More... | |
| void | OnQuitPressed () |
| Callback for when the user has given input that shows they want to exit. More... | |
| void | GenerateTestMeshes (entt::registry &t_Reg) |
| void | PrintFPS () const |
| void | LightingTest (entt::registry &t_Reg) |
| void | ScriptingTest (entt::registry &t_Reg) |
| void | ToggleCursorVisibility () |
| void | SetWindowFullscreen () |
| void | SetWindowBorderlessWindowed () |
| void | SetWindowWindowed () |
| void | ToggleRotation () |
| void | OnTestSpawn () |
| void | OnToggleMoveLights () |
| void | ToggleLua () |
| void | SetWindowIcon () |
Private Attributes | |
| bool | m_DoRotations = false |
| bool | m_MovePointLights = false |
| bool | m_RunLua = true |
| glm::vec3 | MoveDelta = {} |
| Temp vector for keeping track of the movement of things. More... | |
Additional Inherited Members | |
Public Member Functions inherited from Fling::Game | |
| FORCEINLINE class World * | GetWorld () const |
| Gets the owning world of this game. More... | |
| FORCEINLINE bool | WantsToQuit () const |
| If true then this game wants to texit the application entirely. More... | |
Public Member Functions inherited from Fling::NonCopyable | |
| NonCopyable (const NonCopyable &)=delete | |
| NonCopyable (NonCopyable &&)=default | |
| NonCopyable & | operator= (const NonCopyable &)=delete |
| NonCopyable & | operator= (NonCopyable &&)=default |
Protected Member Functions inherited from Fling::Game | |
| Game ()=default | |
| virtual | ~Game ()=default |
Protected Member Functions inherited from Fling::NonCopyable | |
| NonCopyable ()=default | |
| virtual | ~NonCopyable ()=default |
Protected Attributes inherited from Fling::Game | |
| class World * | m_OwningWorld = nullptr |
| The world that updates this game. More... | |
| bool | m_WantsToQuit = false |
| Change this value to true when the game is ready to exit the application entirely. More... | |
Custom game class that will have control of it's gameplay systems.
|
private |
|
overrideprivatevirtual |
Called before the first gameplay loop tick.
Do any initalization for custom gameplay systems here.
Implements Fling::Game.
|
private |
|
private |
Callback for when the user has given input that shows they want to exit.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overrideprivatevirtual |
Implements Fling::Game.
|
private |
|
private |
|
private |
|
overrideprivatevirtual |
Update is called every frame.
Call any system updates for your gameplay systems inside of here
Implements Fling::Game.
|
private |
|
private |
|
private |
|
private |
Temp vector for keeping track of the movement of things.
1.8.13