From 58ba349f19f98fe3af5332188f5d3dfe4d076807 Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 19 Apr 2011 23:03:50 +0200 Subject: nicer method of ending rounds --- pacman-c++/sceneholder.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pacman-c++/sceneholder.h') 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: Color::Color color(); void setEatingOrder(QList &order); QList &eatingOrder(); + void removeActors(); signals: void allPointsRemoved(); @@ -37,11 +38,12 @@ protected: QPoint CoordToMapPosition(unsigned int x, unsigned int y); QPoint CoordToMapPosition(QPoint point); +protected: /* map of all pixmap instances */ QVector< QVector > visualMap; /* map of actors in order to keep track of those instances */ - QMap m_actors; + QMap m_actors; /* items that got removed/has been eaten * must be remove one tick later -- cgit v1.2.3