summaryrefslogtreecommitdiffstats
path: root/pacman-c++/sceneholder.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-04-19 23:03:50 +0200
committermanuel <manuel@mausz.at>2011-04-19 23:03:50 +0200
commit58ba349f19f98fe3af5332188f5d3dfe4d076807 (patch)
tree6425c4c8e0bc033906c944b985655625ebd9e19d /pacman-c++/sceneholder.h
parent9e9bc7cd492bf6f897bc26818674a3919431fb99 (diff)
downloadfoop-58ba349f19f98fe3af5332188f5d3dfe4d076807.tar.gz
foop-58ba349f19f98fe3af5332188f5d3dfe4d076807.tar.bz2
foop-58ba349f19f98fe3af5332188f5d3dfe4d076807.zip
nicer method of ending rounds
Diffstat (limited to 'pacman-c++/sceneholder.h')
-rw-r--r--pacman-c++/sceneholder.h4
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
27signals: 28signals:
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
41protected:
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