diff options
| author | manuel <manuel@mausz.at> | 2011-04-06 23:29:31 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-06 23:29:31 +0200 |
| commit | da6ef5d87e1cafc0a7de658dc65a9a4578e28f6c (patch) | |
| tree | 1284bdb56f88c3256abd13c911427ae0ff6b49a6 /pacman-c++/mainwidget.h | |
| parent | 079c0ef93c6c72c448120b805d7ebddeaa56a908 (diff) | |
| download | foop-da6ef5d87e1cafc0a7de658dc65a9a4578e28f6c.tar.gz foop-da6ef5d87e1cafc0a7de658dc65a9a4578e28f6c.tar.bz2 foop-da6ef5d87e1cafc0a7de658dc65a9a4578e28f6c.zip | |
- make a few optimizations to actor sprites
- make actor move via keyboard!
Diffstat (limited to 'pacman-c++/mainwidget.h')
| -rw-r--r-- | pacman-c++/mainwidget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pacman-c++/mainwidget.h b/pacman-c++/mainwidget.h index 951b6c6..b15427c 100644 --- a/pacman-c++/mainwidget.h +++ b/pacman-c++/mainwidget.h | |||
| @@ -42,7 +42,7 @@ private: | |||
| 42 | QMap<Color::Color, Actor*> m_actors; | 42 | QMap<Color::Color, Actor*> m_actors; |
| 43 | 43 | ||
| 44 | // key currently pressed by user | 44 | // key currently pressed by user |
| 45 | Transmission::field_t currentKey; | 45 | Transmission::field_t m_currentKey; |
| 46 | 46 | ||
| 47 | // translate Qt::Key to our key format | 47 | // translate Qt::Key to our key format |
| 48 | Transmission::field_t translateKey(int); | 48 | Transmission::field_t translateKey(int); |
