summaryrefslogtreecommitdiffstats
path: root/pacman-c++/bonuspoint.cpp
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-04-12 18:08:02 +0200
committermanuel <manuel@mausz.at>2011-04-12 18:08:02 +0200
commit651a1bee1adc5318922d1b37b0cea11a65df71e2 (patch)
treea60d4921d569f0b4b817e31e049cbc64d11d05f9 /pacman-c++/bonuspoint.cpp
parentfae7c3377c8995b217e620c5cf1e963b3ab1e84a (diff)
downloadfoop-651a1bee1adc5318922d1b37b0cea11a65df71e2.tar.gz
foop-651a1bee1adc5318922d1b37b0cea11a65df71e2.tar.bz2
foop-651a1bee1adc5318922d1b37b0cea11a65df71e2.zip
make removal of items from scene delayed by one tick (looks better)
all items are now derived from gameentity and gameentity is derived from pixmapitem: - this is naturally better - allows us to add a generic gameentity.color()
Diffstat (limited to 'pacman-c++/bonuspoint.cpp')
-rw-r--r--pacman-c++/bonuspoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pacman-c++/bonuspoint.cpp b/pacman-c++/bonuspoint.cpp
index bbb26b7..5bb470e 100644
--- a/pacman-c++/bonuspoint.cpp
+++ b/pacman-c++/bonuspoint.cpp
@@ -10,7 +10,7 @@ namespace
10} 10}
11 11
12BonusPoint::BonusPoint(QGraphicsItem *parent) 12BonusPoint::BonusPoint(QGraphicsItem *parent)
13 : PixmapItem(parent) 13 : GameEntity(parent)
14{ 14{
15 /* empty object for servers */ 15 /* empty object for servers */
16 if (Constants::server) 16 if (Constants::server)