Elaztek Developer Hub
Blamite Game Engine - Strings  00370.03.08.23.1431.blamite
A library containing general purpose utilities and classes for use in multiple projects.
KeyPressEvent.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../../BlamEvent.h"
4 
5 #include <sdl2/SDL_keyboard.h>
6 
7 #ifdef STRINGS_EXPORTS
8 #define STRINGS_API __declspec(dllexport)
9 #else
10 #define STRINGS_API __declspec(dllimport)
11 #endif
12 
19 {
20 private:
21  SDL_Keycode key;
22 
23 public:
29  KeyPressEvent(SDL_Keycode _vk);
30 
36  int GetVirtualKey();
37 };
STRINGS_API
#define STRINGS_API
Definition: KeyPressEvent.h:10
KeyPressEvent
Class representing a virtual key press.
Definition: KeyPressEvent.h:18
BlamEvent
Class representing a generic event.
Definition: BlamEvent.h:33