diff options
| -rw-r--r-- | pacman-c++/mainwidget.cpp | 6 | ||||
| -rw-r--r-- | pacman-c++/mainwidget.h | 1 | ||||
| -rw-r--r-- | pacman-c++/pacman.pro | 3 |
3 files changed, 4 insertions, 6 deletions
diff --git a/pacman-c++/mainwidget.cpp b/pacman-c++/mainwidget.cpp index 8dd1875..cc85416 100644 --- a/pacman-c++/mainwidget.cpp +++ b/pacman-c++/mainwidget.cpp | |||
| @@ -56,6 +56,7 @@ transmission::map_t createDummyMap() { | |||
| 56 | 56 | ||
| 57 | map[5][5] |= blue; | 57 | map[5][5] |= blue; |
| 58 | map[5][5] |= transmission::pacman; | 58 | map[5][5] |= transmission::pacman; |
| 59 | map[5][5] |= transmission::direction_left; | ||
| 59 | 60 | ||
| 60 | return map; | 61 | return map; |
| 61 | } | 62 | } |
| @@ -115,8 +116,3 @@ QPoint MainWidget::mapPositionToCoord(unsigned int x, unsigned int y) | |||
| 115 | return QPoint(x * field_size[0], y * field_size[1]); | 116 | return QPoint(x * field_size[0], y * field_size[1]); |
| 116 | } | 117 | } |
| 117 | 118 | ||
| 118 | Actor* MainWidget::getActor(Color color) | ||
| 119 | { | ||
| 120 | |||
| 121 | } | ||
| 122 | |||
diff --git a/pacman-c++/mainwidget.h b/pacman-c++/mainwidget.h index 93af229..184c542 100644 --- a/pacman-c++/mainwidget.h +++ b/pacman-c++/mainwidget.h | |||
| @@ -24,7 +24,6 @@ private: | |||
| 24 | 24 | ||
| 25 | QGraphicsScene *m_scene; | 25 | QGraphicsScene *m_scene; |
| 26 | 26 | ||
| 27 | Actor *getActor(Color); | ||
| 28 | typedef std::map<Color, Actor*> ActorMap; | 27 | typedef std::map<Color, Actor*> ActorMap; |
| 29 | ActorMap m_actors; | 28 | ActorMap m_actors; |
| 30 | }; | 29 | }; |
diff --git a/pacman-c++/pacman.pro b/pacman-c++/pacman.pro index 954ff77..6c39033 100644 --- a/pacman-c++/pacman.pro +++ b/pacman-c++/pacman.pro | |||
| @@ -17,3 +17,6 @@ RESOURCES += pacman.qrc | |||
| 17 | 17 | ||
| 18 | OBJECTS_DIR = .obj | 18 | OBJECTS_DIR = .obj |
| 19 | MOC_DIR = .moc | 19 | MOC_DIR = .moc |
| 20 | |||
| 21 | CONFIG += debug | ||
| 22 | |||
