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