fliXNA_xbox.FlxGamepad.justReleased C# (CSharp) Метод

justReleased() публичный Метод

Returrns true if the specified button was just released
public justReleased ( Buttons button ) : bool
button Buttons
Результат bool
        public bool justReleased(Buttons button)
        {
            if ((old.IsButtonDown(button) && current.IsButtonUp(button)))
                return true;
            else
                return false;
        }