![]() |
Blamite Game Engine - blam!
00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
|
Class representing an engine tick event. More...
#include <TickEvent.h>
Public Member Functions | |
TickEvent (int _tick) | |
Constructs a new event. More... | |
int | GetTickNumber () |
Retrieves the current tick number. More... | |
![]() | |
BlamEvent (BlamEventType type) | |
Constructs a new event with the specified type. More... | |
BlamEventType | GetEventType () |
Retrieves the type of the event. More... | |
void | SetCancelled (bool cancel) |
Sets whether or not the event should be cancelled. More... | |
bool | IsCancelled () |
Determines whether or not the event has been cancelled. More... | |
Class representing an engine tick event.
This event is fired from the engine's game tick functions. See Blam::Tick for details.
TickEvent::TickEvent | ( | int | _tick | ) |
Constructs a new event.
_tick | - The number of the tick that was fired. Will always be between 0 and the maximum tick rate. |
int TickEvent::GetTickNumber | ( | ) |
Retrieves the current tick number.