|
void | increment () |
|
| TickCounter () |
|
| ~TickCounter () |
|
void | Draw () |
| Draws the stack object. More...
|
|
void | ShowImPropertyEditor () |
| Shows a set of ImGUI properties associated with the object. More...
|
|
void | onTickEvent (Blam::Events::TickEvent *event) |
| Called when the listener is subscribed to Key Press events, and a new TickEvent is fired. More...
|
|
| StackObjectBase () |
| Sets default values and provides a default ID to be used if none is provided. More...
|
|
| ~StackObjectBase () |
| Empty destructor. More...
|
|
virtual void | HandleResize () |
| Called upon window resize events. More...
|
|
void | SetArea (float new_area[4]) |
| Sets the area of the object. More...
|
|
void | SetArea (float top, float bottom, float left, float right) |
| Sets the area of the object. More...
|
|
void | SetArea (D2D1_RECT_F new_area) |
| Sets the area of the object. More...
|
|
void | SetColor (float new_color[3]) |
| Sets the color of the object. More...
|
|
void | SetColor (float r, float g, float b) |
| Sets the color of the object. More...
|
|
void | SetColor (float r, float g, float b, float a) |
| Sets the color of the object. More...
|
|
void | SetColor (D2D1::ColorF color) |
| Sets the color of the object. More...
|
|
void | SetZOrder (int z) |
| Sets the Z-Order of the object. More...
|
|
void | SetTranslation (float new_x, float new_y) |
| Sets the translation of the object. More...
|
|
void | PokeTranslation () |
| Updates the area of the object to account for any x/y coordinate changes. More...
|
|
void | SetSize (float new_width, float new_height) |
| Sets the size of the object. More...
|
|
void | PokeSize () |
| Updates the area of the object to account for any width/height changes. More...
|
|
void | ValidateSizeAndTranslation () |
| Validates X/Y coordinates and Width/Height sizes after the area has been modified. More...
|
|
std::string | GetType () |
| Retrieves the type of item that this stack object is. More...
|
|
std::string | GetDrawModeLabel () |
| Retrieves the current drawing mode of the object. More...
|
|
void | Subscribe (EventType type) |
| Subscribes to an event type. More...
|
|
| ~EventListener () |
|
std::vector< EventType > | getSubscribedEvents () |
| Retrieves the list of subscribed event types. More...
|
|
bool | isSubscribed (EventType type) |
| Determines whether or not the listener is subscribed to the specified event type. More...
|
|
void | SetPriority (int new_priority) |
| Sets the priority of the listener. More...
|
|
int | GetPriority () |
| Retrieves the priority of the listener. More...
|
|
virtual void | onCharacterInputEvent (Blam::Events::CharacterInputEvent *event) |
| Called when the listener is subscribed to Character Input events, and a new CharacterInputEvent is fired. More...
|
|
virtual void | onKeyPressEvent (Blam::Events::KeyPressEvent *event) |
| Called when the listener is subscribed to Key Press events, and a new KeyPressEvent is fired. More...
|
|
Class to contain the onscreen tick counter display.
It does not actually count the number of ticks, but rather increments on each tick.
From the words of Lord Zedd himself:
as long as its ticking you know the game is running