|
Potato Engine
|
Global engine singleton class. More...
#include <PotatoEngine.hpp>
Public Member Functions | |
| void | LoadSubobjects () |
| Loads all subobjects and calls corresponding initializing methods. | |
| void | BeginPlay () |
| Starts gameplay. | |
| void | Resolve () noexcept |
| Resolve all subobjects and perform resolving engine functionality. | |
| IInputController * | GetInputController () const |
| Gets input controller. | |
| ITickController * | GetTickController () const |
| Gets tick controller. | |
| IHUDController * | GetHUDController () const |
| Gets HUD controller. | |
Static Public Member Functions | |
| static PotatoEngine & | Get () |
| Global access to engine object. | |
Protected Attributes | |
| std::vector< IEngineSubsystem * > | SubsystemStack |
| IInputController * | InputController |
| ITickController * | TickController |
| IHUDController * | HUDController |
Global engine singleton class.
This class manages the engine and engine subsystems. This class must be configured before playing the game.
Definition at line 18 of file PotatoEngine.hpp.
|
static |
Global access to engine object.
| void PotatoEngine::LoadSubobjects | ( | ) |
Loads all subobjects and calls corresponding initializing methods.
| void PotatoEngine::BeginPlay | ( | ) |
Starts gameplay.
|
noexcept |
Resolve all subobjects and perform resolving engine functionality.
| IInputController * PotatoEngine::GetInputController | ( | ) | const |
Gets input controller.
| ITickController * PotatoEngine::GetTickController | ( | ) | const |
Gets tick controller.
| IHUDController * PotatoEngine::GetHUDController | ( | ) | const |
Gets HUD controller.
|
protected |
Definition at line 56 of file PotatoEngine.hpp.
|
protected |
Definition at line 58 of file PotatoEngine.hpp.
|
protected |
Definition at line 59 of file PotatoEngine.hpp.
|
protected |
Definition at line 60 of file PotatoEngine.hpp.