_EngineManager
Extends:
A singleton & Manager.
This class manages the core ECS system & game loop. It calls all other Managers required to start.
TODO: This system will be rewritten to allow Manager plugins to be added by the user without editing the Engine.
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
|
Method Summary
Public Methods | ||
public |
end() Ends the Engine by calling all manager end functions. |
|
public |
pause() Pauses the Engine by calling all manager pause functions. |
|
public |
start() Called when the Engine should start all systems. |
|
public |
unpause() Unpauses the Engine by calling all manager unpause functions. |
|
public |
update() The EngineManager sets up a loop on start() to call this function. |
Inherited Summary
From class Manager | ||
public |
end() |
|
public |
pause() |
|
public |
start() |
|
public |
unpause() |
|
public |
update() |
Public Constructors
Public Members
public coreUpdateLoopHandle: * source
Public Methods
public pause() source
Pauses the Engine by calling all manager pause functions.
Override:
Manager#pausepublic start() source
Called when the Engine should start all systems. This also includes specific setup code to get the game running, including setting up the render loop.
Override:
Manager#startpublic unpause() source
Unpauses the Engine by calling all manager unpause functions.
Override:
Manager#unpausepublic update() source
The EngineManager sets up a loop on start() to call this function. Recalling this function will force a game update.