diff options
| author | totycro <totycro@unknown-horizons.org> | 2011-04-11 13:03:40 +0200 |
|---|---|---|
| committer | totycro <totycro@unknown-horizons.org> | 2011-04-11 13:03:40 +0200 |
| commit | ea2880702a7df079f5e8eee0280584f186c2de73 (patch) | |
| tree | a509f39d1ad479d44a0babb7ebfd962e8bfe6352 /pacman-c++/bonuspoint.cpp | |
| parent | 46cba78d4017cad17550a1169c7deb7120710c2a (diff) | |
| download | foop-ea2880702a7df079f5e8eee0280584f186c2de73.tar.gz foop-ea2880702a7df079f5e8eee0280584f186c2de73.tar.bz2 foop-ea2880702a7df079f5e8eee0280584f186c2de73.zip | |
Added code to play the cherry sound, but doesn't work here
Diffstat (limited to 'pacman-c++/bonuspoint.cpp')
| -rw-r--r-- | pacman-c++/bonuspoint.cpp | 7 |
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 | |||
| 30 | void BonusPoint::onDie(Actor *actor) | ||
| 31 | { | ||
| 32 | qDebug() << "here comes the cherry.. "; | ||
| 33 | actor->eatingCherry(); | ||
| 34 | } | ||
| 35 | |||
