diff options
| author | manuel <manuel@mausz.at> | 2011-04-19 23:03:50 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-19 23:03:50 +0200 |
| commit | 58ba349f19f98fe3af5332188f5d3dfe4d076807 (patch) | |
| tree | 6425c4c8e0bc033906c944b985655625ebd9e19d /pacman-c++/bonuspoint.cpp | |
| parent | 9e9bc7cd492bf6f897bc26818674a3919431fb99 (diff) | |
| download | foop-58ba349f19f98fe3af5332188f5d3dfe4d076807.tar.gz foop-58ba349f19f98fe3af5332188f5d3dfe4d076807.tar.bz2 foop-58ba349f19f98fe3af5332188f5d3dfe4d076807.zip | |
nicer method of ending rounds
Diffstat (limited to 'pacman-c++/bonuspoint.cpp')
| -rw-r--r-- | pacman-c++/bonuspoint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pacman-c++/bonuspoint.cpp b/pacman-c++/bonuspoint.cpp index 8cb8c7e..c90cccc 100644 --- a/pacman-c++/bonuspoint.cpp +++ b/pacman-c++/bonuspoint.cpp | |||
| @@ -26,7 +26,7 @@ BonusPoint::BonusPoint(QGraphicsItem *parent) | |||
| 26 | setSprite(rand * 20 + Constants::sprite_margin, Constants::sprite_margin, Constants::field_size.width, Constants::field_size.height); | 26 | setSprite(rand * 20 + Constants::sprite_margin, Constants::sprite_margin, Constants::field_size.width, Constants::field_size.height); |
| 27 | } | 27 | } |
| 28 | 28 | ||
| 29 | bool BonusPoint::enter(Actor* actor) | 29 | bool BonusPoint::enter(Actor *actor) |
| 30 | { | 30 | { |
| 31 | actor->addRoundPoints(Constants::Game::bonus_point_value); | 31 | actor->addRoundPoints(Constants::Game::bonus_point_value); |
| 32 | m_eaten = true; | 32 | m_eaten = true; |
