]> git.localhorst.tv Git - l2e.git/blob - src/map/Trigger.h
added map trigger prototype
[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 "../geometry/Vector.h"
12
13 namespace map {
14
15 class Trigger {
16
17 public:
18         Trigger();
19         ~Trigger() { }
20
21 public:
22         const geometry::Vector<int> &TilePosition() const { return tilePosition; }
23
24 // temporary setters
25 public:
26         void SetTilePosition(const geometry::Vector<int> &p) { tilePosition = p; }
27
28 private:
29         geometry::Vector<int> tilePosition;
30
31 };
32
33 }
34
35 #endif /* MAP_TRIGGER_H_ */