![]() |
Blamite Game Engine - blam!
00272.10.26.20.0001.blamite
The core library for the Blamite Game Engine.
|
Class representing a virtual key press. More...
#include <KeyPressEvent.hpp>
Public Member Functions | |
KeyPressEvent (SDL_Keycode _vk) | |
Constructs a new event. More... | |
int | GetVirtualKey () |
Retrieves the virtual key code that was pressed. More... | |
![]() | |
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 | |
![]() | |
EventType | event_type |
The type of the event. More... | |
Class representing a virtual key press.
This event is fired from the WM_KEYDOWN
message.
|
inline |
Constructs a new event.
_vk | - The virtual key code. |
|
inline |
Retrieves the virtual key code that was pressed.