Ejemplo n.º 1
0
 /// <summary>
 /// The button was released between this and last frame (and is still released in the current frame)
 /// </summary>
 /// <param name="button">On button</param>
 /// <returns>True if the button was just released, otherwise false</returns>
 public bool IsJustReleased(Buttons button)
 {
     return(LastFrame.IsButtonDown(button) && CurrentFrame.IsButtonUp(button));
 }