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