Fix compiler errors
[supertux.git] / src / badguy / mriceblock.hpp
index 1f61c18..e0ff607 100644 (file)
@@ -20,7 +20,7 @@
 #include "badguy/walking_badguy.hpp"
 #include "object/portable.hpp"
 
-class MrIceBlock : public WalkingBadguy, 
+class MrIceBlock : public WalkingBadguy,
                    public Portable
 {
 public:
@@ -51,7 +51,7 @@ protected:
 
 protected:
   bool collision_squished(GameObject& object);
-  void set_state(IceState state);
+  void set_state(IceState state, bool up = false);
 
 private:
   IceState ice_state;
@@ -60,6 +60,12 @@ private:
   int squishcount;
 };
 
+class SmartBlock : public MrIceBlock
+{
+public:
+  SmartBlock(const Reader& reader);
+};
+
 #endif
 
 /* EOF */