diff options
Diffstat (limited to 'pacman-c++/sceneholder.h')
| -rw-r--r-- | pacman-c++/sceneholder.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pacman-c++/sceneholder.h b/pacman-c++/sceneholder.h index 9340850..f36c31e 100644 --- a/pacman-c++/sceneholder.h +++ b/pacman-c++/sceneholder.h | |||
| @@ -24,7 +24,6 @@ public: | |||
| 24 | Color::Color color(); | 24 | Color::Color color(); |
| 25 | void setEatingOrder(QList<Color::Color> &order); | 25 | void setEatingOrder(QList<Color::Color> &order); |
| 26 | QList<Color::Color> &eatingOrder(); | 26 | QList<Color::Color> &eatingOrder(); |
| 27 | void removeActors(); | ||
| 28 | 27 | ||
| 29 | signals: | 28 | signals: |
| 30 | void allPointsRemoved(); | 29 | void allPointsRemoved(); |
| @@ -33,6 +32,8 @@ private slots: | |||
| 33 | void decrementPoints(); | 32 | void decrementPoints(); |
| 34 | 33 | ||
| 35 | protected: | 34 | protected: |
| 35 | /* process items that got delayed by one tick */ | ||
| 36 | void processDelayedItems(); | ||
| 36 | /* data conversion */ | 37 | /* data conversion */ |
| 37 | QPoint mapPositionToCoord(unsigned int x, unsigned int y); | 38 | QPoint mapPositionToCoord(unsigned int x, unsigned int y); |
| 38 | QPoint mapPositionToCoord(QPoint point); | 39 | QPoint mapPositionToCoord(QPoint point); |
| @@ -50,6 +51,7 @@ protected: | |||
| 50 | * must be remove one tick later | 51 | * must be remove one tick later |
| 51 | */ | 52 | */ |
| 52 | QList<GameEntity *> m_oldItems; | 53 | QList<GameEntity *> m_oldItems; |
| 54 | QMap<Color::Color, GameEntity *> m_death; | ||
| 53 | 55 | ||
| 54 | /* my local color */ | 56 | /* my local color */ |
| 55 | Color::Color m_color; | 57 | Color::Color m_color; |
