C# 클래스 SpaceCats_v2.InputManager

파일 보기 프로젝트 열기: acm-team/SpaceCats 1 사용 예제들

공개 메소드들

메소드 설명
InputManager ( Main game ) : System
IsKeyDown ( GameControl control ) : bool
IsKeyDown ( Keys key ) : bool
KeyPressed ( GameControl control ) : bool
KeyPressed ( Keys key ) : bool
KeyReleased ( GameControl control ) : bool
KeyReleased ( Keys key ) : bool
Reset ( ) : void
SetDefaultControls ( ) : void
Update ( GameTime gametime ) : void

메소드 상세

InputManager() 공개 메소드

public InputManager ( Main game ) : System
game Main
리턴 System

IsKeyDown() 공개 메소드

public IsKeyDown ( GameControl control ) : bool
control GameControl
리턴 bool

IsKeyDown() 공개 메소드

public IsKeyDown ( Keys key ) : bool
key Keys
리턴 bool

KeyPressed() 공개 메소드

public KeyPressed ( GameControl control ) : bool
control GameControl
리턴 bool

KeyPressed() 공개 메소드

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

KeyReleased() 공개 메소드

public KeyReleased ( GameControl control ) : bool
control GameControl
리턴 bool

KeyReleased() 공개 메소드

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

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

SetDefaultControls() 공개 메소드

public SetDefaultControls ( ) : void
리턴 void

Update() 공개 메소드

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