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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pacman-c++/actor.h b/pacman-c++/actor.h
index 0738593..902951b 100644
--- a/pacman-c++/actor.h
+++ b/pacman-c++/actor.h
@@ -32,7 +32,6 @@ public:
32 virtual ~Actor() 32 virtual ~Actor()
33 {}; 33 {};
34 34
35 QSequentialAnimationGroup *setupEatingAnimation(Actor::Movement direction);
36 PixmapItem &icon(); 35 PixmapItem &icon();
37 Movement direction(); 36 Movement direction();
38 bool isLocal(); 37 bool isLocal();
@@ -49,8 +48,11 @@ public:
49 void addRoundPoints(unsigned int amount); 48 void addRoundPoints(unsigned int amount);
50 void finishRound(); 49 void finishRound();
51 50
51 static QPoint movementToPoint(const Actor::Movement direction);
52
52private: 53private:
53 void moveByServer(Movement direction); 54 void moveByServer(Movement direction);
55 QSequentialAnimationGroup *setupEatingAnimation(Actor::Movement direction);
54 56
55private: 57private:
56 QPixmap m_pix; 58 QPixmap m_pix;