summaryrefslogtreecommitdiffstats
path: root/pacman-c++/actor.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-04-03 17:01:08 +0200
committermanuel <manuel@mausz.at>2011-04-03 17:01:08 +0200
commit11e767ea030cbdab3f0374f61efc3a813746fad5 (patch)
tree8351c8b61092874286f9f78f96ad8b5d86ca66e6 /pacman-c++/actor.h
parent818383fec4f220a2410177b58518797e81d8eab3 (diff)
downloadfoop-11e767ea030cbdab3f0374f61efc3a813746fad5.tar.gz
foop-11e767ea030cbdab3f0374f61efc3a813746fad5.tar.bz2
foop-11e767ea030cbdab3f0374f61efc3a813746fad5.zip
extreme cleanup
Diffstat (limited to 'pacman-c++/actor.h')
-rw-r--r--pacman-c++/actor.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/pacman-c++/actor.h b/pacman-c++/actor.h
new file mode 100644
index 0000000..753c920
--- /dev/null
+++ b/pacman-c++/actor.h
@@ -0,0 +1,30 @@
1#ifndef ACTOR_H
2#define ACTOR_H
3
4#include "pixmapitem.h"
5
6class Actor
7 : public PixmapItem
8{
9public:
10 enum Movement {
11 None = 0,
12 Left,
13 Right,
14 Up,
15 Down
16 };
17
18 enum Type {
19 Player1 = 1,
20 Player2,
21 Player3,
22 };
23
24 Actor(Type type);
25private:
26 Type m_type;
27 Movement m_direction;
28};
29
30#endif // ACTOR_H