X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftrigger%2Fswitch.hpp;h=8742f804a846c90101401a420c347b383479b668;hb=89c801d4e00a0be36f6ad693a055505968ef9514;hp=fecc5b0ffc2e55dd477280259b7d7e8425b9d826;hpb=173b5b4d42c3ad52d1563e6a631390b3390dadbe;p=supertux.git diff --git a/src/trigger/switch.hpp b/src/trigger/switch.hpp index fecc5b0ff..8742f804a 100644 --- a/src/trigger/switch.hpp +++ b/src/trigger/switch.hpp @@ -17,8 +17,8 @@ // 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 @@ -36,7 +36,7 @@ public: 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); @@ -52,7 +52,7 @@ private: std::string sprite_name; Sprite* sprite; std::string script; - + SwitchState state; };