fliXNA_xbox.FlxGamepad.pressed C# (CSharp) 메소드

pressed() 공개 메소드

Returrns true if the specified button is held down
public pressed ( Buttons button ) : bool
button Buttons
리턴 bool
        public bool pressed(Buttons button)
        {
            if (current.IsButtonDown(button))
                return true;
            else
                return false;
        }