YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
GameInput.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_GAMEINPUT_HPP
2
# define YAPOG_GAMEINPUT_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Graphics/Gui/GameInput/GameInputType.hpp
"
6
# include "
YAPOG/Graphics/Gui/GameInput/GameInputEntry.hpp
"
7
# include "
YAPOG/Collection/List.hpp
"
8
9
namespace
yap
10
{
12
class
YAPOG_LIB
GameInput
13
{
14
DISALLOW_COPY
(
GameInput
);
15
16
public
:
17
18
GameInput
(GameInputType type,
GameInputEntry
* entry);
19
~
GameInput
();
20
21
void
AddEntry (
GameInputEntry
* entry);
22
23
bool
IsActive ()
const
;
24
bool
IsActivated ()
const
;
25
bool
IsDeactivated ()
const
;
26
27
bool
IsActive (
const
GuiEvent
& guiEvent)
const
;
28
bool
IsActivated (
const
GuiEvent
& guiEvent)
const
;
29
bool
IsDeactivated (
const
GuiEvent
& guiEvent)
const
;
30
31
void
BeginUpdate ();
32
void
Update (
const
GuiEvent
& guiEvent);
33
void
EndUpdate ();
34
35
GameInputType GetType ()
const
;
36
37
private
:
38
39
GameInputType
type_
;
40
41
collection::List<GameInputEntry*>
entries_
;
42
};
43
}
// namespace yap
44
45
#endif // YAPOG_GAMEINPUT_HPP
YAPOG
include
YAPOG
Graphics
Gui
GameInput
GameInput.hpp
Generated on Mon Sep 17 2012 22:24:24 for YAPOG by
1.8.1.1