Added what I called of actions to Sprite.
[supertux.git] / lib / math / vector.h
index 8e8555d..faedaff 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef SUPERTUX_VECTOR_H
 #define SUPERTUX_VECTOR_H
 
+#include "../special/base.h"
+
 namespace SuperTux
   {
 
@@ -34,6 +36,9 @@ namespace SuperTux
       Vector(const Vector& other)
           : x(other.x), y(other.y)
       { }
+      Vector(const base_type& base)
+          : x(base.x), y(base.y)
+      { }
       Vector()
           : x(0), y(0)
       { }