Blamite Game Engine - Blam (Core)
BlamRendering::RenderStack::ConsoleMessage Class Reference

#include <console.hpp>

+ Inheritance diagram for BlamRendering::RenderStack::ConsoleMessage:

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...
 
- Public Member Functions inherited from Blam::Events::EventListener
void Subscribe (EventType type)
 Subscribes to an event type. More...
 
 ~EventListener ()
 
std::vector< EventTypegetSubscribedEvents ()
 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

BitmapTextmessage
 
int ticks_left = 0
 
Blam::Animation::ColorTransitionAnimation anim
 
bool * console_visible
 

Constructor & Destructor Documentation

◆ ConsoleMessage()

BlamRendering::RenderStack::ConsoleMessage::ConsoleMessage ( bool *  _console_visible)
inline

Member Function Documentation

◆ onTickEvent()

void BlamRendering::RenderStack::ConsoleMessage::onTickEvent ( Blam::Events::TickEvent event)
inlinevirtual

Called when the listener is subscribed to Key Press events, and a new TickEvent is fired.

Parameters
-The event that was fired.

Reimplemented from Blam::Events::EventListener.

Member Data Documentation

◆ anim

Blam::Animation::ColorTransitionAnimation BlamRendering::RenderStack::ConsoleMessage::anim

◆ console_visible

bool* BlamRendering::RenderStack::ConsoleMessage::console_visible

◆ message

BitmapText* BlamRendering::RenderStack::ConsoleMessage::message

◆ ticks_left

int BlamRendering::RenderStack::ConsoleMessage::ticks_left = 0

The documentation for this class was generated from the following file: