use spike flag again and don't replace spikes with objects
[supertux.git] / src / badguy / kugelblitz.hpp
index 9cffb31..d630922 100644 (file)
@@ -21,6 +21,7 @@
 #define __KUGELBLITZ_H__
 
 #include "badguy.hpp"
+#include "timer.hpp"
 
 class Kugelblitz : public BadGuy
 {
@@ -33,11 +34,16 @@ public:
 
   void write(lisp::Writer& writer);
   void active_update(float);
+  void kill_fall();
 
 private:
   HitResponse hit(const CollisionHit& hit);
   Vector pos_groundhit;
   bool groundhit_pos_set;
+  bool dying;
+  Timer movement_timer;
+  Timer lifetime;
+  int direction;
 };
 
 #endif