C# 클래스 Drought.Input.DeviceInput

파일 보기 프로젝트 열기: kiniry-teaching/UCD 1 사용 예제들

공개 메소드들

메소드 설명
bind ( GameKeys gameKey, Keys key, ModifierKeys modifier ) : void
bind ( GameKeys gameKey, MouseButtons button, ModifierKeys modifier ) : void
clearBinding ( GameKeys gameKey ) : void
clearBindings ( ) : void
getInput ( ) : DeviceInput
getMouseX ( ) : int
getMouseY ( ) : int
isKeyPressed ( GameKeys gameKey ) : bool
poll ( ) : void
wasKeyJustPressed ( GameKeys gameKey ) : bool
wasKeyJustReleased ( GameKeys gameKey ) : bool

비공개 메소드들

메소드 설명
DeviceInput ( ) : System
isMouseButtonPressed ( MouseButtons button ) : bool

메소드 상세

bind() 공개 메소드

public bind ( GameKeys gameKey, Keys key, ModifierKeys modifier ) : void
gameKey GameKeys
key Keys
modifier ModifierKeys
리턴 void

bind() 공개 메소드

public bind ( GameKeys gameKey, MouseButtons button, ModifierKeys modifier ) : void
gameKey GameKeys
button MouseButtons
modifier ModifierKeys
리턴 void

clearBinding() 공개 메소드

public clearBinding ( GameKeys gameKey ) : void
gameKey GameKeys
리턴 void

clearBindings() 공개 메소드

public clearBindings ( ) : void
리턴 void

getInput() 공개 정적인 메소드

public static getInput ( ) : DeviceInput
리턴 DeviceInput

getMouseX() 공개 메소드

public getMouseX ( ) : int
리턴 int

getMouseY() 공개 메소드

public getMouseY ( ) : int
리턴 int

isKeyPressed() 공개 메소드

public isKeyPressed ( GameKeys gameKey ) : bool
gameKey GameKeys
리턴 bool

poll() 공개 메소드

public poll ( ) : void
리턴 void

wasKeyJustPressed() 공개 메소드

public wasKeyJustPressed ( GameKeys gameKey ) : bool
gameKey GameKeys
리턴 bool

wasKeyJustReleased() 공개 메소드

public wasKeyJustReleased ( GameKeys gameKey ) : bool
gameKey GameKeys
리턴 bool