diff options
| author | manuel <manuel@mausz.at> | 2011-05-05 00:57:07 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-05-05 00:57:07 +0200 |
| commit | ce48af53646cd9e7ec762fc1ac176b3aa620b11d (patch) | |
| tree | f8fbf2cae8c7d0cbac2696a8f4cf94410bfb4928 /pacman-c++/common/bonuspoint.h | |
| parent | e54ccad07e256ba877bd41d70bd358bd0085bd1e (diff) | |
| download | foop-ce48af53646cd9e7ec762fc1ac176b3aa620b11d.tar.gz foop-ce48af53646cd9e7ec762fc1ac176b3aa620b11d.tar.bz2 foop-ce48af53646cd9e7ec762fc1ac176b3aa620b11d.zip | |
- refactorized the whole project and made a few subprojects
- replaced tcp with enet
- added connect dialog
- some smaller bugfixes
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 | ||
