Changed egg shadow draw layer so it will no longer appear in front of bonusblocks...
[supertux.git] / src / trigger / door.hpp
index 41e1a14..6be119b 100644 (file)
@@ -18,6 +18,7 @@
 #define HEADER_SUPERTUX_TRIGGER_DOOR_HPP
 
 #include "sprite/sprite.hpp"
+#include "supertux/timer.hpp"
 #include "trigger/trigger_base.hpp"
 
 class Player;
@@ -46,6 +47,7 @@ private:
   DoorState state; /**< current state of the door */
   std::string target_sector; /**< target sector to teleport to */
   std::string target_spawnpoint; /**< target spawnpoint to teleport to */
+  std::string script;
   SpritePtr sprite; /**< "door" sprite to render */
   Timer stay_open_timer; /**< time until door will close again */
 };