diff options
Diffstat (limited to 'pacman-c++/common/bonuspoint.h')
| -rw-r--r-- | pacman-c++/common/bonuspoint.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pacman-c++/common/bonuspoint.h b/pacman-c++/common/bonuspoint.h new file mode 100644 index 0000000..a72a4db --- /dev/null +++ b/pacman-c++/common/bonuspoint.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | #ifndef BONUSPOINT_H | ||
| 2 | #define BONUSPOINT_H | ||
| 3 | |||
| 4 | #include "gameentity.h" | ||
| 5 | |||
| 6 | class BonusPoint | ||
| 7 | : public GameEntity | ||
| 8 | { | ||
| 9 | public: | ||
| 10 | enum | ||
| 11 | { | ||
| 12 | Type = UserType + Transmission::bonuspoint | ||
| 13 | }; | ||
| 14 | |||
| 15 | public: | ||
| 16 | BonusPoint(QGraphicsItem *parent=0); | ||
| 17 | virtual ~BonusPoint() | ||
| 18 | {}; | ||
| 19 | |||
| 20 | virtual EnteredState enter(Actor *actor); | ||
| 21 | virtual void onDie(Actor *actor); | ||
| 22 | }; | ||
| 23 | |||
| 24 | #endif // BONUSPOINT_H | ||
