]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/Trigger.h
removed lazy fwd headers
[l2e.git] / src / map / Trigger.h
index d1b915e100609be5e9303e17793f865d8eb142a1..3baf74a960b8b7badf96727766782fdee5b9c237 100644 (file)
@@ -1,17 +1,12 @@
-/*
- * Trigger.h
- *
- *  Created on: Oct 3, 2012
- *      Author: holy
- */
-
 #ifndef MAP_TRIGGER_H_
 #define MAP_TRIGGER_H_
 
+namespace common {
+       class Script;
+}
+
 #include "Entity.h"
-#include "fwd.h"
-#include "../common/Script.h"
-#include "../geometry/Vector.h"
+#include "../math/Vector.h"
 
 namespace map {
 
@@ -33,7 +28,7 @@ public:
        };
 
 public:
-       const geometry::Vector<int> &TilePosition() const { return tilePosition; }
+       const math::Vector<int> &TilePosition() const { return tilePosition; }
        Type GetType() const { return Type(type); }
        bool HasScript() const { return script; }
        common::Script &GetScript() { return *script; }
@@ -44,13 +39,13 @@ public:
 
 // temporary setters
 public:
-       void SetTilePosition(const geometry::Vector<int> &p) { tilePosition = p; }
+       void SetTilePosition(const math::Vector<int> &p) { tilePosition = p; }
        void SetType(Type t) { type = t; }
        void SetScript(common::Script *s) { script = s; }
 
 private:
        common::Script *script;
-       geometry::Vector<int> tilePosition;
+       math::Vector<int> tilePosition;
        int type;
 
 };