summaryrefslogtreecommitdiffstats
path: root/pacman-c++/gameentity.cpp
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-04-25 14:39:00 +0200
committermanuel <manuel@mausz.at>2011-04-25 14:39:00 +0200
commit41a31420cf091aeb4e986503387855d41e550106 (patch)
treeffbe0be5f9630a0bab2deb0b5df37c174bf40db1 /pacman-c++/gameentity.cpp
parentbbd2a69a962d15f74a4afcb7b66462eac9fa5008 (diff)
downloadfoop-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.cpp4
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
3GameEntity::GameEntity(Color::Color color, QGraphicsItem *parent) 3GameEntity::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
7GameEntity::GameEntity(QGraphicsItem *parent) 7GameEntity::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{}