![]() |
Blamite Game Engine - Strings
00398.09.22.23.2015.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
Class representing an editor tick event. More...
#include <EditorTickEvent.h>
Inheritance diagram for EditorTickEvent:
Collaboration diagram for EditorTickEvent:Public Member Functions | |
| EditorTickEvent (int _tick, uint64_t _total_tick) | |
| Constructs a new event. More... | |
| int | GetTickNumber () |
| Retrieves the current tick number. More... | |
| uint64_t | GetTotalTickNumber () |
| Retrieves the current total tick number. More... | |
Public Member Functions inherited from BlamEvent | |
| 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 editor tick event.
This event is fired from Keystone's tick functions.
| EditorTickEvent::EditorTickEvent | ( | int | _tick, |
| uint64_t | _total_tick | ||
| ) |
Constructs a new event.
| _tick | - The number of the tick that was fired. Will always be between 0 and the maximum tick rate. |
| _total_tick | - The number of the tick within the amount of total program runtime ticks. |
| int EditorTickEvent::GetTickNumber | ( | ) |
Retrieves the current tick number.
| uint64_t EditorTickEvent::GetTotalTickNumber | ( | ) |
Retrieves the current total tick number.