From 050e11002cb05586cf0f013b234c6801a9d876c4 Mon Sep 17 00:00:00 2001 From: totycro Date: Tue, 5 Apr 2011 17:50:57 +0200 Subject: Added simple scorebox --- pacman-c++/mainwidget.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'pacman-c++/mainwidget.h') diff --git a/pacman-c++/mainwidget.h b/pacman-c++/mainwidget.h index f98cc42..dc20d75 100644 --- a/pacman-c++/mainwidget.h +++ b/pacman-c++/mainwidget.h @@ -3,7 +3,6 @@ #include "constants.h" #include -#include class Actor; @@ -18,13 +17,15 @@ public: private: void loadDummyMap(); + void updateScore(); + // data conversion QPoint mapPositionToCoord(unsigned int x, unsigned int y); + QList m_playerScoreLayouts; QGraphicsScene *m_scene; - typedef std::map ActorMap; - ActorMap m_actors; + QMap m_actors; }; #endif // MAINWIDGET_H -- cgit v1.2.3