C# 클래스 EzGame.Input.XboxPad

파일 보기 프로젝트 열기: CodeTreeCommunity/Shooter2D

공개 메소드들

메소드 설명
Holding ( Buttons Button, PlayerIndex PlayerIndex = null ) : bool

Check if a buttton on a pad is being held

Pressed ( Buttons Button, PlayerIndex PlayerIndex = null ) : bool

Check if a buttton on a pad has been pressed

Released ( Buttons Button, PlayerIndex PlayerIndex = null ) : bool

Check if a buttton on a pad has been released

Update ( GameTime Time ) : void

메소드 상세

Holding() 공개 정적인 메소드

Check if a buttton on a pad is being held
public static Holding ( Buttons Button, PlayerIndex PlayerIndex = null ) : bool
Button Buttons The xbox pad button, to check.
PlayerIndex PlayerIndex The pad (index) to check, use null for ANY pad.
리턴 bool

Pressed() 공개 정적인 메소드

Check if a buttton on a pad has been pressed
public static Pressed ( Buttons Button, PlayerIndex PlayerIndex = null ) : bool
Button Buttons The xbox pad button, to check.
PlayerIndex PlayerIndex The pad (index) to check, use null for ANY pad.
리턴 bool

Released() 공개 정적인 메소드

Check if a buttton on a pad has been released
public static Released ( Buttons Button, PlayerIndex PlayerIndex = null ) : bool
Button Buttons The xbox pad button, to check.
PlayerIndex PlayerIndex The pad (index) to check, use null for ANY pad.
리턴 bool

Update() 공개 정적인 메소드

public static Update ( GameTime Time ) : void
Time Microsoft.Xna.Framework.GameTime
리턴 void