summaryrefslogtreecommitdiffstats
path: root/pacman-c++/actor.h
diff options
context:
space:
mode:
Diffstat (limited to 'pacman-c++/actor.h')
-rw-r--r--pacman-c++/actor.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/pacman-c++/actor.h b/pacman-c++/actor.h
index 753c920..5f68f8f 100644
--- a/pacman-c++/actor.h
+++ b/pacman-c++/actor.h
@@ -4,27 +4,27 @@
4#include "pixmapitem.h" 4#include "pixmapitem.h"
5 5
6class Actor 6class Actor
7 : public PixmapItem 7 : public PixmapItem
8{ 8{
9public: 9public:
10 enum Movement { 10 enum Movement {
11 None = 0, 11 None = 0,
12 Left, 12 Left,
13 Right, 13 Right,
14 Up, 14 Up,
15 Down 15 Down
16 }; 16 };
17 17
18 enum Type { 18 enum Type {
19 Player1 = 1, 19 Player1 = 1,
20 Player2, 20 Player2,
21 Player3, 21 Player3,
22 }; 22 };
23 23
24 Actor(Type type); 24 Actor(Type type);
25private: 25private:
26 Type m_type; 26 Type m_type;
27 Movement m_direction; 27 Movement m_direction;
28}; 28};
29 29
30#endif // ACTOR_H 30#endif // ACTOR_H