projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Badguys from the start of the level were not appearing. Fixed.
[supertux.git]
/
src
/
interactive_object.h
diff --git
a/src/interactive_object.h
b/src/interactive_object.h
index
bb06a52
..
24aa866
100644
(file)
--- a/
src/interactive_object.h
+++ b/
src/interactive_object.h
@@
-20,8
+20,10
@@
#ifndef SUPERTUX_INTERACTIVE_OBJECT_H
#define SUPERTUX_INTERACTIVE_OBJECT_H
#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
{
enum InteractionType
{
@@
-43,6
+45,9
@@
public:
const base_type& get_area() const
{ return area; }
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;
};
protected:
base_type area;
};