![]() |
Blamite Game Engine - Blam (Core)
|
#include <console.hpp>
Public Member Functions | |
ConsoleMessage (bool *_console_visible) | |
void | onTickEvent (Blam::Events::TickEvent *event) |
Called when the listener is subscribed to Key Press events, and a new TickEvent is fired. 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... | |
Public Attributes | |
BitmapText * | message |
int | ticks_left = 0 |
Blam::Animation::ColorTransitionAnimation | anim |
bool * | console_visible |
|
inline |
|
inlinevirtual |
Called when the listener is subscribed to Key Press events, and a new TickEvent is fired.
- | The event that was fired. |
Reimplemented from Blam::Events::EventListener.
Blam::Animation::ColorTransitionAnimation BlamRendering::RenderStack::ConsoleMessage::anim |
bool* BlamRendering::RenderStack::ConsoleMessage::console_visible |
BitmapText* BlamRendering::RenderStack::ConsoleMessage::message |
int BlamRendering::RenderStack::ConsoleMessage::ticks_left = 0 |