From 0c4d6493ce9d1215c10d5f2942d373c4f37204b5 Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 2 May 2011 20:42:37 +0200 Subject: add eating overlay --- pacman-c++/sceneholder.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pacman-c++/sceneholder.h') diff --git a/pacman-c++/sceneholder.h b/pacman-c++/sceneholder.h index dcc10bf..7d6e556 100644 --- a/pacman-c++/sceneholder.h +++ b/pacman-c++/sceneholder.h @@ -24,6 +24,7 @@ public: Color::Color color(); void setEatingOrder(QList &order); QList &eatingOrder(); + void showEatingText(bool show = true); signals: void allPointsRemoved(); @@ -66,6 +67,7 @@ protected: /* points left before round ends */ unsigned int m_pointsLeft; + QGraphicsTextItem *m_overlayText; }; #endif // SCENEHOLDER_H -- cgit v1.2.3