Unstable tile: Dissolve, then disappear without falling down.
[supertux.git] / src / sprite / sprite.hpp
index 24c5ed7..2c36b0d 100644 (file)
@@ -111,6 +111,11 @@ public:
     return action->surfaces[frame_];
   }
 
+  bool has_action (const std::string& name)
+  {
+    return (data.get_action(name) != NULL);
+  }
+
 private:
   void update();