Badguys from the start of the level were not appearing. Fixed.
[supertux.git] / src / interactive_object.h
index bb06a52..24aa866 100644 (file)
 #ifndef SUPERTUX_INTERACTIVE_OBJECT_H
 #define SUPERTUX_INTERACTIVE_OBJECT_H
 
-#include "game_object.h"
-#include "type.h"
+#include "special/game_object.h"
+#include "special/base.h"
+
+using namespace SuperTux;
 
 enum InteractionType
 {
@@ -43,6 +45,9 @@ public:
   const base_type& get_area() const
   { return area; }
 
+  void set_area(float x, float y)
+  { area.x = x; area.y = y; }
+
 protected:
   base_type area;
 };