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 26ba942..c61de58 100644 --- a/pacman-c++/sceneholder.h +++ b/pacman-c++/sceneholder.h | |||
| @@ -23,6 +23,7 @@ public: | |||
| 23 | Color::Color color(); | 23 | Color::Color color(); |
| 24 | void setEatingOrder(QList<Color::Color> &order); | 24 | void setEatingOrder(QList<Color::Color> &order); |
| 25 | QList<Color::Color> &eatingOrder(); | 25 | QList<Color::Color> &eatingOrder(); |
| 26 | void removeActors(); | ||
| 26 | 27 | ||
| 27 | signals: | 28 | signals: |
| 28 | void allPointsRemoved(); | 29 | void allPointsRemoved(); |
| @@ -37,11 +38,12 @@ protected: | |||
| 37 | QPoint CoordToMapPosition(unsigned int x, unsigned int y); | 38 | QPoint CoordToMapPosition(unsigned int x, unsigned int y); |
| 38 | QPoint CoordToMapPosition(QPoint point); | 39 | QPoint CoordToMapPosition(QPoint point); |
| 39 | 40 | ||
| 41 | protected: | ||
| 40 | /* map of all pixmap instances */ | 42 | /* map of all pixmap instances */ |
| 41 | QVector< QVector<GameEntity *> > visualMap; | 43 | QVector< QVector<GameEntity *> > visualMap; |
| 42 | 44 | ||
| 43 | /* map of actors in order to keep track of those instances */ | 45 | /* map of actors in order to keep track of those instances */ |
| 44 | QMap<Color::Color, Actor*> m_actors; | 46 | QMap<Color::Color, Actor *> m_actors; |
| 45 | 47 | ||
| 46 | /* items that got removed/has been eaten | 48 | /* items that got removed/has been eaten |
| 47 | * must be remove one tick later | 49 | * must be remove one tick later |
