Replaced std::auto_ptr<> with std::unique_ptr<>
[supertux.git] / src / badguy / haywire.hpp
index 7acb3cf..5e4817d 100644 (file)
@@ -18,6 +18,7 @@
 #ifndef HEADER_SUPERTUX_BADGUY_HAYWIRE_HPP
 #define HEADER_SUPERTUX_BADGUY_HAYWIRE_HPP
 
+#include "audio/sound_source.hpp"
 #include "badguy/walking_badguy.hpp"
 
 class Haywire : public WalkingBadguy
@@ -32,7 +33,6 @@ public:
 
   void active_update(float elapsed_time);
 
-  void freeze();
   bool is_freezable() const;
 
 protected:
@@ -43,6 +43,9 @@ private:
   float time_until_explosion;
   bool is_stunned;
   float time_stunned;
+  
+  std::unique_ptr<SoundSource> ticking;  
+  std::unique_ptr<SoundSource> grunting;
 };
 
 #endif /* HEADER_SUPERTUX_BADGUY_HAYWIRE_HPP */