|
Vulkan Schnee 0.0.1
High-performance rendering engine
|
This is the interface which is used to call a tick function on an object. Everything which should be able to tick has to implement this interface. More...
#include <Tick.h>
Public Member Functions | |
| virtual | ~ITickable ()=default |
| virtual void | preTick () |
| Function which executes immediately before the execution of ITickable::preTick() | |
| virtual void | tick (double deltaTimeSeconds) |
| Function called each frame when a tick component has been registered with EnTT Ecs::Tick. | |
| virtual void | postTick () |
| Function which executes immediately after the execution of ITickable::postTick() | |
This is the interface which is used to call a tick function on an object. Everything which should be able to tick has to implement this interface.
|
virtualdefault |
|
inlinevirtual |
Function which executes immediately after the execution of ITickable::postTick()
|
inlinevirtual |
Function which executes immediately before the execution of ITickable::preTick()
|
inlinevirtual |
Function called each frame when a tick component has been registered with EnTT Ecs::Tick.
| deltaTimeSeconds | frame time between this frame and the last frame |
Reimplemented in EngineCore::Actor, and EngineCore::Entity.
Definition at line 32 of file Tick.h.
Referenced by EngineCore::Entity::tick().