diff options
| author | manuel <manuel@mausz.at> | 2011-04-03 17:32:48 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-03 17:32:48 +0200 |
| commit | 5480580d5c2fa40787a70dfdb68b52216917c58b (patch) | |
| tree | 91915b6e1b9c75375d1a14f2e47a047a657c61a3 /pacman-c++/actor.h | |
| parent | 7218df74dd2b840fd4f56de0215357b479d88e05 (diff) | |
| download | foop-5480580d5c2fa40787a70dfdb68b52216917c58b.tar.gz foop-5480580d5c2fa40787a70dfdb68b52216917c58b.tar.bz2 foop-5480580d5c2fa40787a70dfdb68b52216917c58b.zip | |
fix intend
Diffstat (limited to 'pacman-c++/actor.h')
| -rw-r--r-- | pacman-c++/actor.h | 32 |
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 | ||
| 6 | class Actor | 6 | class Actor |
| 7 | : public PixmapItem | 7 | : public PixmapItem |
| 8 | { | 8 | { |
| 9 | public: | 9 | public: |
| 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); |
| 25 | private: | 25 | private: |
| 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 |
