SmashBros.Controllers.GamepadController.isControllerPressed C# (CSharp) Метод

isControllerPressed() приватный Метод

private isControllerPressed ( Buttons button ) : bool
button Buttons
Результат bool
        private bool isControllerPressed(Buttons button)
        {
            return currentGamePadState.IsButtonUp(button) && oldGamePadState.IsButtonDown(button);
        }