diff options
Diffstat (limited to 'pacman-c++/actor.h')
| -rw-r--r-- | pacman-c++/actor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pacman-c++/actor.h b/pacman-c++/actor.h index 5bec353..5e9ed72 100644 --- a/pacman-c++/actor.h +++ b/pacman-c++/actor.h | |||
| @@ -17,11 +17,13 @@ public: | |||
| 17 | }; | 17 | }; |
| 18 | 18 | ||
| 19 | Actor(Color color, QGraphicsItem *parent = 0); | 19 | Actor(Color color, QGraphicsItem *parent = 0); |
| 20 | PixmapItem &getIcon(); | ||
| 20 | 21 | ||
| 21 | private: | 22 | private: |
| 22 | QPixmap m_pix; | 23 | QPixmap m_pix; |
| 23 | Color m_color; | 24 | Color m_color; |
| 24 | Movement m_direction; | 25 | Movement m_direction; |
| 26 | PixmapItem m_icon; | ||
| 25 | }; | 27 | }; |
| 26 | 28 | ||
| 27 | #endif // ACTOR_H | 29 | #endif // ACTOR_H |
