Allow declaration of "layer" for thunderstorm (both game and editor parts) => Thunder...
[supertux.git] / src / object / thunderstorm.hpp
index 5a7fbe8..fcfba48 100644 (file)
@@ -82,6 +82,7 @@ public:
 private:
     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 */