C# 클래스 Azmyth.XNA.InputManager

파일 보기 프로젝트 열기: GalacticSoft/Azmyth

공개 메소드들

메소드 설명
AnyKeyPressed ( ) : bool
AnyPadPressed ( ) : bool
Initialize ( ) : void
KeyHeld ( Keys key ) : bool
KeyPressed ( Keys key ) : bool
KeyReleased ( Keys key ) : bool
PadHeld ( PlayerIndex player, Buttons button ) : bool
PadPressed ( PlayerIndex player, Buttons button ) : bool
Reset ( ) : void
SetVibration ( PlayerIndex player, float leftMotor, float rightMotor ) : void
ThumbDownHeld ( PlayerIndex player, ThumbSticks stick ) : bool
ThumbDownPressed ( PlayerIndex player, ThumbSticks stick ) : bool
ThumbLeftHeld ( PlayerIndex player, ThumbSticks stick ) : bool
ThumbLeftPressed ( PlayerIndex player, ThumbSticks stick ) : bool
ThumbPosition ( PlayerIndex player, ThumbSticks stick ) : Vector2
ThumbRightHeld ( PlayerIndex player, ThumbSticks stick ) : bool
ThumbRightPressed ( PlayerIndex player, ThumbSticks stick ) : bool
ThumbUpHeld ( PlayerIndex player, ThumbSticks stick ) : bool
ThumbUpPressed ( PlayerIndex player, ThumbSticks stick ) : bool
Update ( GameTime gameTime ) : void

비공개 메소드들

메소드 설명
InputManager ( ) : System

메소드 상세

AnyKeyPressed() 공개 정적인 메소드

public static AnyKeyPressed ( ) : bool
리턴 bool

AnyPadPressed() 공개 정적인 메소드

public static AnyPadPressed ( ) : bool
리턴 bool

Initialize() 공개 정적인 메소드

public static Initialize ( ) : void
리턴 void

KeyHeld() 공개 정적인 메소드

public static KeyHeld ( Keys key ) : bool
key Keys
리턴 bool

KeyPressed() 공개 정적인 메소드

public static KeyPressed ( Keys key ) : bool
key Keys
리턴 bool

KeyReleased() 공개 정적인 메소드

public static KeyReleased ( Keys key ) : bool
key Keys
리턴 bool

PadHeld() 공개 정적인 메소드

public static PadHeld ( PlayerIndex player, Buttons button ) : bool
player PlayerIndex
button Buttons
리턴 bool

PadPressed() 공개 정적인 메소드

public static PadPressed ( PlayerIndex player, Buttons button ) : bool
player PlayerIndex
button Buttons
리턴 bool

Reset() 공개 정적인 메소드

public static Reset ( ) : void
리턴 void

SetVibration() 공개 정적인 메소드

public static SetVibration ( PlayerIndex player, float leftMotor, float rightMotor ) : void
player PlayerIndex
leftMotor float
rightMotor float
리턴 void

ThumbDownHeld() 공개 정적인 메소드

public static ThumbDownHeld ( PlayerIndex player, ThumbSticks stick ) : bool
player PlayerIndex
stick ThumbSticks
리턴 bool

ThumbDownPressed() 공개 정적인 메소드

public static ThumbDownPressed ( PlayerIndex player, ThumbSticks stick ) : bool
player PlayerIndex
stick ThumbSticks
리턴 bool

ThumbLeftHeld() 공개 정적인 메소드

public static ThumbLeftHeld ( PlayerIndex player, ThumbSticks stick ) : bool
player PlayerIndex
stick ThumbSticks
리턴 bool

ThumbLeftPressed() 공개 정적인 메소드

public static ThumbLeftPressed ( PlayerIndex player, ThumbSticks stick ) : bool
player PlayerIndex
stick ThumbSticks
리턴 bool

ThumbPosition() 공개 정적인 메소드

public static ThumbPosition ( PlayerIndex player, ThumbSticks stick ) : Vector2
player PlayerIndex
stick ThumbSticks
리턴 Vector2

ThumbRightHeld() 공개 정적인 메소드

public static ThumbRightHeld ( PlayerIndex player, ThumbSticks stick ) : bool
player PlayerIndex
stick ThumbSticks
리턴 bool

ThumbRightPressed() 공개 정적인 메소드

public static ThumbRightPressed ( PlayerIndex player, ThumbSticks stick ) : bool
player PlayerIndex
stick ThumbSticks
리턴 bool

ThumbUpHeld() 공개 정적인 메소드

public static ThumbUpHeld ( PlayerIndex player, ThumbSticks stick ) : bool
player PlayerIndex
stick ThumbSticks
리턴 bool

ThumbUpPressed() 공개 정적인 메소드

public static ThumbUpPressed ( PlayerIndex player, ThumbSticks stick ) : bool
player PlayerIndex
stick ThumbSticks
리턴 bool

Update() 공개 정적인 메소드

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