YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
CharacterMoveController.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_CHARACTERMOVECONTROLLER_HPP
2
# define YAPOG_CHARACTERMOVECONTROLLER_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Game/World/Map/Physics/WorldObjectMoveController.hpp
"
6
# include "
YAPOG/Game/World/Map/Direction.hpp
"
7
# include "
YAPOG/Collection/Map.hpp
"
8
9
namespace
yap
10
{
11
class
YAPOG_LIB
CharacterMoveController
:
public
WorldObjectMoveController
12
{
13
DISALLOW_COPY
(
CharacterMoveController
);
14
15
public
:
16
17
CharacterMoveController
();
18
virtual
~
CharacterMoveController
();
19
20
void
EnableDirection (
Direction
direction);
21
void
DisableDirection (
Direction
direction);
22
23
private
:
24
25
void
Update ();
26
27
static
const
Direction
DEFAULT_LAST_DIRECTION
;
28
29
collection::Map<Direction, bool>
directions_
;
30
Direction
lastDirection_
;
31
};
32
}
// namespace yap
33
34
#endif // YAPOG_CHARACTERMOVECONTROLLER_HPP
YAPOG
include
YAPOG
Game
World
Map
Physics
CharacterMoveController.hpp
Generated on Mon Sep 17 2012 22:24:23 for YAPOG by
1.8.1.1