C# 클래스 Sharpex2D.Input.Implementation.XInput.XInputGamepad

파일 보기 프로젝트 열기: ThuCommix/Sharpex2D 1 사용 예제들

공개 메소드들

메소드 설명
Copy ( XInputGamepad source ) : void

Copies the source.

IsButtonPresent ( int buttonFlags ) : bool

A value indicating whether the button is accessable on the gamepad.

IsButtonPressed ( int buttonFlags ) : bool

A value indicating whether the button was pressed.

메소드 상세

Copy() 공개 메소드

Copies the source.
public Copy ( XInputGamepad source ) : void
source XInputGamepad The Source.
리턴 void

IsButtonPresent() 공개 메소드

A value indicating whether the button is accessable on the gamepad.
public IsButtonPresent ( int buttonFlags ) : bool
buttonFlags int The ButtonFlags.
리턴 bool

IsButtonPressed() 공개 메소드

A value indicating whether the button was pressed.
public IsButtonPressed ( int buttonFlags ) : bool
buttonFlags int The ButtonFlags.
리턴 bool