// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#ifndef SUPERTUX_DOOR_H
-#define SUPERTUX_DOOR_H
+#ifndef SUPERTUX_SWITCH_H
+#define SUPERTUX_SWITCH_H
#include <string>
virtual ~Switch();
virtual void write(lisp::Writer& writer);
-
+
virtual void update(float elapsed_time);
virtual void draw(DrawingContext& context);
virtual void event(Player& player, EventType type);
std::string sprite_name;
Sprite* sprite;
std::string script;
-
+
SwitchState state;
};