SmashBros.Controllers.GamepadController.isControllerPressed C# (CSharp) Method

isControllerPressed() private method

private isControllerPressed ( Buttons button ) : bool
button Buttons
return bool
        private bool isControllerPressed(Buttons button)
        {
            return currentGamePadState.IsButtonUp(button) && oldGamePadState.IsButtonDown(button);
        }