![]() |
Blamite Game Engine - Strings
00390.07.02.23.1947.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
Class representing a character input event. More...
#include <CharacterInputEvent.h>
Public Member Functions | |
CharacterInputEvent (char _char) | |
Constructs a new event. More... | |
char | GetCharacter () |
Retrieves the character that was pressed. More... | |
![]() | |
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 a character input event.
This event is fired when a character has been pressed.
CharacterInputEvent::CharacterInputEvent | ( | char | _char | ) |
Constructs a new event.
_char | - The character that was pressed. |
char CharacterInputEvent::GetCharacter | ( | ) |
Retrieves the character that was pressed.