AUTO-canon always shoots towards tux.
[supertux.git] / src / badguy / dispenser.hpp
index c9fa524..95b5cad 100644 (file)
@@ -29,19 +29,24 @@ public:
   Dispenser(const lisp::Lisp& reader);
 
   void activate();
+  void deactivate();
   void write(lisp::Writer& writer);
   void active_update(float elapsed_time);
 
+  void freeze();
+  void unfreeze();
+  bool is_freezable() const;
+
   virtual Dispenser* clone() const { return new Dispenser(*this); }
 
 protected:
-  bool collision_squished(Player& player);
+  bool collision_squished(GameObject& object);
   void launch_badguy();
   float cycle;
   std::string badguy;
   Timer dispense_timer;
-  Direction launchdir;
+  bool autotarget;
+  bool swivel;
 };
 
 #endif
-