1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#ifndef POINT_H #define POINT_H #include "gameentity.h" class Point : public GameEntity { public: enum { Type = UserType + Transmission::point }; public: Point(QGraphicsItem *parent=0); virtual ~Point() {}; virtual EnteredState enter(Actor *actor); virtual void onDie(Actor *actor); }; #endif // POINT_H