diff options
| author | manuel <manuel@mausz.at> | 2011-04-25 14:39:00 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-25 14:39:00 +0200 |
| commit | 41a31420cf091aeb4e986503387855d41e550106 (patch) | |
| tree | ffbe0be5f9630a0bab2deb0b5df37c174bf40db1 /pacman-c++/gameentity.cpp | |
| parent | bbd2a69a962d15f74a4afcb7b66462eac9fa5008 (diff) | |
| download | foop-41a31420cf091aeb4e986503387855d41e550106.tar.gz foop-41a31420cf091aeb4e986503387855d41e550106.tar.bz2 foop-41a31420cf091aeb4e986503387855d41e550106.zip | |
- add intro sound on every round
- add dieing sound
- add dieing animation
- add die on moving onto colorized block
Diffstat (limited to 'pacman-c++/gameentity.cpp')
| -rw-r--r-- | pacman-c++/gameentity.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pacman-c++/gameentity.cpp b/pacman-c++/gameentity.cpp index 156deda..e73e759 100644 --- a/pacman-c++/gameentity.cpp +++ b/pacman-c++/gameentity.cpp | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | #include "gameentity.h" | 1 | #include "gameentity.h" |
| 2 | 2 | ||
| 3 | GameEntity::GameEntity(Color::Color color, QGraphicsItem *parent) | 3 | GameEntity::GameEntity(Color::Color color, QGraphicsItem *parent) |
| 4 | : PixmapItem(parent), m_type(Type), m_eaten(false), m_color(color) | 4 | : PixmapItem(parent), m_type(Type), m_color(color) |
| 5 | {} | 5 | {} |
| 6 | 6 | ||
| 7 | GameEntity::GameEntity(QGraphicsItem *parent) | 7 | GameEntity::GameEntity(QGraphicsItem *parent) |
| 8 | : PixmapItem(parent), m_type(Type), m_eaten(false), m_color(Color::none) | 8 | : PixmapItem(parent), m_type(Type), m_color(Color::none) |
| 9 | {} | 9 | {} |
