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.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/pacman-c++/actor.h b/pacman-c++/actor.h
index 19d672b..d1875f1 100644
--- a/pacman-c++/actor.h
+++ b/pacman-c++/actor.h
@@ -27,8 +27,9 @@ public:
27 {}; 27 {};
28 28
29 QSequentialAnimationGroup *setupEatingAnimation(Actor::Movement direction); 29 QSequentialAnimationGroup *setupEatingAnimation(Actor::Movement direction);
30 Color::Color getColor(); 30 Color::Color color();
31 PixmapItem &getIcon(); 31 PixmapItem &icon();
32 Movement direction();
32 bool isLocal(); 33 bool isLocal();
33 void move(Movement direction); 34 void move(Movement direction);
34 bool isMoving(); 35 bool isMoving();
@@ -41,6 +42,9 @@ public:
41 void finishRound(); 42 void finishRound();
42 43
43private: 44private:
45 void moveByServer(Movement direction);
46
47private:
44 QPixmap m_pix; 48 QPixmap m_pix;
45 Color::Color m_color; 49 Color::Color m_color;
46 Movement m_direction; 50 Movement m_direction;