refactored some supertux mainloops
[supertux.git] / src / control / controller.hpp
index 50cdb17..f320825 100644 (file)
@@ -46,6 +46,8 @@ public:
   bool hold(Control control);
   /** returns true if the control has just been pressed down this frame */
   bool pressed(Control control);
+  /** returns true if the control has just been released down this frame */ 
+  bool released(Control control);
 
   virtual void reset();
   virtual void update();