diff options
| author | manuel <manuel@mausz.at> | 2011-05-02 20:42:37 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-05-02 20:42:37 +0200 |
| commit | 0c4d6493ce9d1215c10d5f2942d373c4f37204b5 (patch) | |
| tree | 5bd36abfe2ecb65d2c453ff88359cdda561f094b /pacman-c++/sceneholder.h | |
| parent | 6ca702032d6844e211c67f18cf066e34fbbaf9d0 (diff) | |
| download | foop-0c4d6493ce9d1215c10d5f2942d373c4f37204b5.tar.gz foop-0c4d6493ce9d1215c10d5f2942d373c4f37204b5.tar.bz2 foop-0c4d6493ce9d1215c10d5f2942d373c4f37204b5.zip | |
add eating overlay
Diffstat (limited to 'pacman-c++/sceneholder.h')
| -rw-r--r-- | pacman-c++/sceneholder.h | 2 |
1 files changed, 2 insertions, 0 deletions
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: | |||
| 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 showEatingText(bool show = true); | ||
| 27 | 28 | ||
| 28 | signals: | 29 | signals: |
| 29 | void allPointsRemoved(); | 30 | void allPointsRemoved(); |
| @@ -66,6 +67,7 @@ protected: | |||
| 66 | 67 | ||
| 67 | /* points left before round ends */ | 68 | /* points left before round ends */ |
| 68 | unsigned int m_pointsLeft; | 69 | unsigned int m_pointsLeft; |
| 70 | QGraphicsTextItem *m_overlayText; | ||
| 69 | }; | 71 | }; |
| 70 | 72 | ||
| 71 | #endif // SCENEHOLDER_H | 73 | #endif // SCENEHOLDER_H |
