]> git.localhorst.tv Git - l2e.git/blob - src/map/Trigger.h
47f933be42263dc529ed3a7c6d203575a4edf26f
[l2e.git] / src / map / Trigger.h
1 /*
2  * Trigger.h
3  *
4  *  Created on: Oct 3, 2012
5  *      Author: holy
6  */
7
8 #ifndef MAP_TRIGGER_H_
9 #define MAP_TRIGGER_H_
10
11 #include "fwd.h"
12 #include "../geometry/Vector.h"
13
14 namespace map {
15
16 class Trigger {
17
18 public:
19         Trigger();
20         ~Trigger() { }
21
22 public:
23         const geometry::Vector<int> &TilePosition() const { return tilePosition; }
24
25 // temporary setters
26 public:
27         void SetTilePosition(const geometry::Vector<int> &p) { tilePosition = p; }
28
29 private:
30         geometry::Vector<int> tilePosition;
31
32 // temporary members until scripting is implemented
33 public:
34         Map *map;
35         geometry::Vector<int> target;
36
37 };
38
39 }
40
41 #endif /* MAP_TRIGGER_H_ */