Elaztek Developer Hub
Blamite Game Engine - Strings  00402.09.29.23.0627.blamite
A library containing general purpose utilities and classes for use in multiple projects.
CharacterInputEvent Class Reference

Class representing a character input event. More...

#include <CharacterInputEvent.h>

+ Inheritance diagram for CharacterInputEvent:
+ Collaboration diagram for 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 BlamEvent
 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...
 

Detailed Description

Class representing a character input event.

This event is fired when a character has been pressed.

Constructor & Destructor Documentation

◆ CharacterInputEvent()

CharacterInputEvent::CharacterInputEvent ( char  _char)

Constructs a new event.

Parameters
_char- The character that was pressed.

Member Function Documentation

◆ GetCharacter()

char CharacterInputEvent::GetCharacter ( )

Retrieves the character that was pressed.

Returns
The pressed character.

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