Aether3D
Game Engine
Include
KeyboardInput.hpp
1
#ifndef KEYBOARD_INPUT_H
2
#define KEYBOARD_INPUT_H
3
4
namespace
ae3d
5
{
6
namespace
keyboardinput
7
{
9
enum
Enum
10
{
11
KEY_ESC = 0,
12
KEY_a,
13
KEY_b,
14
KEY_c,
15
KEY_d,
16
KEY_e,
17
KEY_f,
18
KEY_g,
19
KEY_h,
20
KEY_i,
21
KEY_j,
22
KEY_k,
23
KEY_l,
24
KEY_m,
25
KEY_n,
26
KEY_o,
27
KEY_p,
28
KEY_q,
29
KEY_r,
30
KEY_s,
31
KEY_t,
32
KEY_u,
33
KEY_v,
34
KEY_w,
35
KEY_x,
36
KEY_y,
37
KEY_z,
38
KEY_UP,
39
KEY_DOWN,
40
KEY_LEFT,
41
KEY_RIGHT,
42
count
43
};
44
}
45
}
46
48
class
KeyboardInput
49
{
50
public
:
52
virtual
~KeyboardInput
() {}
53
60
virtual
bool
IsDown
( ae3d::keyboardinput::Enum key )
const
= 0;
61
};
62
63
#endif
KeyboardInput::~KeyboardInput
virtual ~KeyboardInput()
Destructor.
Definition:
KeyboardInput.hpp:52
KeyboardInput::IsDown
virtual bool IsDown(ae3d::keyboardinput::Enum key) const =0
KeyboardInput
Reads keyboard.
Definition:
KeyboardInput.hpp:48
Generated on Sun Dec 13 2020 10:31:15 for Aether3D by
1.8.17