Elaztek Developer Hub
Switch Project...
blam!
Editing Kit
Guerilla
Sapien
Tool
Foundry
Libraries
Keystone
Strings
Forums
Discord
Doxygen
Jenkins
Guides
Gitlab
Blamite Game Engine - Strings
00365.10.17.22.0315.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
18
class
STRINGS_API
KeyPressEvent
:
public
BlamEvent
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:32
Strings
components
classes
events
game_engine_events
KeyPress
KeyPressEvent.h
Generated on Mon Oct 17 2022 05:55:05 for Blamite Game Engine - Strings by
1.8.17