YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
KeyboardGameInputEntry.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_KEYBOARDGAMEINPUTENTRY_HPP
2
# define YAPOG_KEYBOARDGAMEINPUTENTRY_HPP
3
4
# include <SFML/Window/Keyboard.hpp>
5
6
# include "
YAPOG/Macros.hpp
"
7
# include "
YAPOG/Graphics/Gui/GameInput/GameInputEntry.hpp
"
8
9
namespace
yap
10
{
11
typedef
sf::Keyboard::Key
Key
;
12
13
class
YAPOG_LIB
KeyboardGameInputEntry
:
public
GameInputEntry
14
{
15
DISALLOW_COPY
(
KeyboardGameInputEntry
);
16
17
public
:
18
19
explicit
KeyboardGameInputEntry
(
Key
key);
20
virtual
~
KeyboardGameInputEntry
();
21
22
virtual
void
Update (
const
GuiEvent
& guiEvent);
23
24
private
:
25
26
virtual
bool
GuiEventIsCompatible (
const
GuiEvent
& guiEvent)
const
;
27
28
Key
key_
;
29
};
30
}
// namespace yap
31
32
#endif // YAPOG_KEYBOARDGAMEINPUTENTRY_HPP
YAPOG
include
YAPOG
Graphics
Gui
GameInput
KeyboardGameInputEntry.hpp
Generated on Mon Sep 17 2012 22:24:24 for YAPOG by
1.8.1.1