diff options
Diffstat (limited to 'pacman-c++/actor.h')
| -rw-r--r-- | pacman-c++/actor.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pacman-c++/actor.h b/pacman-c++/actor.h index 507a8e2..0738593 100644 --- a/pacman-c++/actor.h +++ b/pacman-c++/actor.h | |||
| @@ -14,7 +14,8 @@ class Actor | |||
| 14 | Q_OBJECT | 14 | Q_OBJECT |
| 15 | 15 | ||
| 16 | public: | 16 | public: |
| 17 | enum Movement { | 17 | enum Movement |
| 18 | { | ||
| 18 | None = 0, | 19 | None = 0, |
| 19 | Left, | 20 | Left, |
| 20 | Right, | 21 | Right, |
| @@ -22,6 +23,11 @@ public: | |||
| 22 | Down, | 23 | Down, |
| 23 | }; | 24 | }; |
| 24 | 25 | ||
| 26 | enum | ||
| 27 | { | ||
| 28 | Type = UserType + Transmission::pacman | ||
| 29 | }; | ||
| 30 | |||
| 25 | Actor(Color::Color color, bool local = false, QGraphicsItem *parent = 0); | 31 | Actor(Color::Color color, bool local = false, QGraphicsItem *parent = 0); |
| 26 | virtual ~Actor() | 32 | virtual ~Actor() |
| 27 | {}; | 33 | {}; |
