fix cr/lfs and remove trailing whitespaces...
[supertux.git] / src / trigger / door.hpp
index af7d218..925edd6 100644 (file)
@@ -37,12 +37,12 @@ public:
   virtual ~Door();
 
   virtual void write(lisp::Writer& writer);
-  
+
   virtual void update(float elapsed_time);
   virtual void draw(DrawingContext& context);
   virtual void event(Player& player, EventType type);
   virtual HitResponse collision(GameObject& other, const CollisionHit& hit);
+
 private:
   enum DoorState {
     CLOSED,
@@ -51,11 +51,11 @@ private:
     CLOSING
   };
 
-  DoorState state;
-  std::string target_sector;
-  std::string target_spawnpoint;
-  Sprite* sprite;
-  Timer stay_open_timer;
+  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 */
+  Sprite* sprite; /**< "door" sprite to render */
+  Timer stay_open_timer; /**< time until door will close again */
 };
 
 #endif