summaryrefslogtreecommitdiffstats
path: root/pacman-c++/mainwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'pacman-c++/mainwidget.h')
-rw-r--r--pacman-c++/mainwidget.h7
1 files changed, 4 insertions, 3 deletions
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 @@
3 3
4#include "constants.h" 4#include "constants.h"
5#include <QtGui> 5#include <QtGui>
6#include <map>
7 6
8class Actor; 7class Actor;
9 8
@@ -18,13 +17,15 @@ public:
18private: 17private:
19 void loadDummyMap(); 18 void loadDummyMap();
20 19
20 void updateScore();
21
21 // data conversion 22 // data conversion
22 QPoint mapPositionToCoord(unsigned int x, unsigned int y); 23 QPoint mapPositionToCoord(unsigned int x, unsigned int y);
23 24
25 QList<QGridLayout*> m_playerScoreLayouts;
24 QGraphicsScene *m_scene; 26 QGraphicsScene *m_scene;
25 27
26 typedef std::map<Color, Actor*> ActorMap; 28 QMap<Color, Actor*> m_actors;
27 ActorMap m_actors;
28}; 29};
29 30
30#endif // MAINWIDGET_H 31#endif // MAINWIDGET_H