summaryrefslogtreecommitdiffstats
path: root/pacman-c++/bonuspoint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pacman-c++/bonuspoint.cpp')
-rw-r--r--pacman-c++/bonuspoint.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/pacman-c++/bonuspoint.cpp b/pacman-c++/bonuspoint.cpp
index 2b5500b..a705c09 100644
--- a/pacman-c++/bonuspoint.cpp
+++ b/pacman-c++/bonuspoint.cpp
@@ -26,3 +26,10 @@ bool BonusPoint::enter(Actor* actor)
26 m_eaten = true; 26 m_eaten = true;
27 return false; 27 return false;
28} 28}
29
30void BonusPoint::onDie(Actor *actor)
31{
32 qDebug() << "here comes the cherry.. ";
33 actor->eatingCherry();
34}
35