fliXNA_xbox.FlxGamepad.justReleased C# (CSharp) Method

justReleased() public method

Returrns true if the specified button was just released
public justReleased ( Buttons button ) : bool
button Buttons
return bool
        public bool justReleased(Buttons button)
        {
            if ((old.IsButtonDown(button) && current.IsButtonUp(button)))
                return true;
            else
                return false;
        }