Added a Jump 'n Bump like way to show statistics.
[supertux.git] / src / interactive_object.h
index 8913374..24aa866 100644 (file)
 //  You should have received a copy of the GNU General Public License
 //  along with this program; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-#ifndef __INTERACTIVE_OBJECT_H__
-#define __INTERACTIVE_OBJECT_H__
 
-#include "game_object.h"
-#include "type.h"
+#ifndef SUPERTUX_INTERACTIVE_OBJECT_H
+#define SUPERTUX_INTERACTIVE_OBJECT_H
+
+#include "special/game_object.h"
+#include "special/base.h"
+
+using namespace SuperTux;
 
 enum InteractionType
 {
@@ -42,9 +45,12 @@ 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;
 };
 
-#endif
+#endif /*SUPERTUX_INTERACTIVE_OBJECT_H*/