From ce48af53646cd9e7ec762fc1ac176b3aa620b11d Mon Sep 17 00:00:00 2001 From: manuel Date: Thu, 5 May 2011 00:57:07 +0200 Subject: - refactorized the whole project and made a few subprojects - replaced tcp with enet - added connect dialog - some smaller bugfixes --- pacman-c++/common/bonuspoint.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pacman-c++/common/bonuspoint.h (limited to 'pacman-c++/common/bonuspoint.h') 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 @@ +#ifndef BONUSPOINT_H +#define BONUSPOINT_H + +#include "gameentity.h" + +class BonusPoint + : public GameEntity +{ +public: + enum + { + Type = UserType + Transmission::bonuspoint + }; + +public: + BonusPoint(QGraphicsItem *parent=0); + virtual ~BonusPoint() + {}; + + virtual EnteredState enter(Actor *actor); + virtual void onDie(Actor *actor); +}; + +#endif // BONUSPOINT_H -- cgit v1.2.3