#include <SubSystem.hpp>
Definition at line 38 of file SubSystem.hpp.
jop::Subsystem::Subsystem |
( |
const uint32 |
ID | ) |
|
Constructor.
- Parameters
-
ID | Identifier of this subsystem |
virtual jop::Subsystem::~Subsystem |
( |
| ) |
|
|
pure virtual |
virtual void jop::Subsystem::draw |
( |
| ) |
|
|
virtual |
uint32 jop::Subsystem::getID |
( |
| ) |
const |
Get the ID.
- Returns
- The ID
bool jop::Subsystem::isActive |
( |
| ) |
const |
Check if this sub system is active.
- Returns
- True if active
virtual void jop::Subsystem::postUpdate |
( |
const float |
deltaTime | ) |
|
|
virtual |
Post-update.
This will be called after the engine calls the scene's update.
- Parameters
-
Reimplemented in jop::Window.
virtual void jop::Subsystem::preUpdate |
( |
const float |
deltaTime | ) |
|
|
virtual |
Receive a message.
Override this to handle messages sent to this. Don't forget to call the base class' method as well to ensure that the message gets forwarded correctly.
- Parameters
-
- Returns
- The message result
Function to handle messages.
- Parameters
-
- Returns
- The message result
Subsystem& jop::Subsystem::setActive |
( |
const bool |
active | ) |
|
Set this sub system active.
- Parameters
-
- Returns
- Reference to self
The documentation for this class was generated from the following file: