C# 클래스 CarpMuffin.Input.GamePadButtonState

Determines the state of a gamepads buttons
파일 보기 프로젝트 열기: BetaToast/CarpMuffin 1 사용 예제들

공개 메소드들

메소드 설명
GamePadButtonState ( ) : System
IsAnyButtonPressed ( ) : bool
IsButtonPressed ( Buttons button ) : bool
IsButtonReleased ( Buttons button ) : bool
Reset ( ) : void
Update ( GamePadState state ) : void

메소드 상세

GamePadButtonState() 공개 메소드

public GamePadButtonState ( ) : System
리턴 System

IsAnyButtonPressed() 공개 메소드

public IsAnyButtonPressed ( ) : bool
리턴 bool

IsButtonPressed() 공개 메소드

public IsButtonPressed ( Buttons button ) : bool
button Buttons
리턴 bool

IsButtonReleased() 공개 메소드

public IsButtonReleased ( Buttons button ) : bool
button Buttons
리턴 bool

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Update() 공개 메소드

public Update ( GamePadState state ) : void
state Microsoft.Xna.Framework.Input.GamePadState
리턴 void