Blamite Game Engine - blam!  00272.10.26.20.0001.blamite
The core library for the Blamite Game Engine.
Blam::Events::CharacterInputEvent Class Reference

Class representing a character being pressed. More...

#include <CharacterInputEvent.hpp>

+ Inheritance diagram for Blam::Events::CharacterInputEvent:

Public Member Functions

 CharacterInputEvent (char _char)
 Constructs a new event. More...
 
char GetCharacter ()
 Retrieves the character that was pressed. More...
 
- Public Member Functions inherited from Blam::Events::Event
EventType 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...
 

Additional Inherited Members

- Public Attributes inherited from Blam::Events::Event
EventType event_type
 The type of the event. More...
 

Detailed Description

Class representing a character being pressed.

This event is fired from the WM_CHAR message.

Constructor & Destructor Documentation

◆ CharacterInputEvent()

Blam::Events::CharacterInputEvent::CharacterInputEvent ( char  _char)
inline

Constructs a new event.

Parameters
_char- The character that was pressed.

Member Function Documentation

◆ GetCharacter()

char Blam::Events::CharacterInputEvent::GetCharacter ( )
inline

Retrieves the character that was pressed.

Returns
The pressed character.

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