* Add Airship (regular above-ground theme) and Battle (castle/boss theme) music court...
[supertux.git] / src / object / thunderstorm.hpp
index 77f8f68..fcfba48 100644 (file)
@@ -41,10 +41,15 @@ public:
     virtual void unexpose(HSQUIRRELVM vm, SQInteger table_idx);
 
     /**
+     * @name Scriptable Methods
+     * @{
+     */
+
+    /**
      * Start playing thunder and lightning at configured interval
      */
     void start();
-    
+
     /**
      * Stop playing thunder and lightning at configured interval
      */
@@ -70,15 +75,18 @@ public:
      */
     void electrify();
 
+    /**
+     * @}
+     */
+
 private:
-    std::string name; /**< user-defined name for use in scripts or empty string if not scriptable */
     bool running; /**< whether we currently automatically trigger lightnings */
     float interval; /**< time between two lightnings */
-    
+    int layer; /**< layer, where flash will be painted */
+
     Timer time_to_thunder; /**< counts down until next thunder */
     Timer time_to_lightning; /**< counts down until next lightning */
     Timer flash_display_timer; /**< counts down while flash is displayed */
 };
 
 #endif
-