C# 클래스 GTRPlugins.Utils.Input

파일 보기 프로젝트 열기: dougbenham/TerrariaPatcher

공개 메소드들

메소드 설명
IsKeyDown ( Keys key, bool ignoreIfPlayerDoesNotHaveControl = true ) : bool
IsKeyUp ( Keys key, bool ignoreIfPlayerDoesNotHaveControl = true ) : bool
IsMouseButtonDown ( MouseButton button ) : bool
IsMouseButtonUp ( MouseButton button ) : bool
KeyPressed ( Keys key, bool ignoreIfPlayerDoesNotHaveControl = true ) : bool
KeyReleased ( Keys key, bool ignoreIfPlayerDoesNotHaveControl = true ) : bool
MouseButtonPressed ( MouseButton button ) : bool
MouseButtonReleased ( MouseButton button ) : bool

비공개 메소드들

메소드 설명
GetMouseButton ( Microsoft.Xna.Framework.Input.MouseState state, MouseButton button ) : bool
Update ( ) : void

메소드 상세

IsKeyDown() 공개 정적인 메소드

public static IsKeyDown ( Keys key, bool ignoreIfPlayerDoesNotHaveControl = true ) : bool
key Keys
ignoreIfPlayerDoesNotHaveControl bool
리턴 bool

IsKeyUp() 공개 정적인 메소드

public static IsKeyUp ( Keys key, bool ignoreIfPlayerDoesNotHaveControl = true ) : bool
key Keys
ignoreIfPlayerDoesNotHaveControl bool
리턴 bool

IsMouseButtonDown() 공개 정적인 메소드

public static IsMouseButtonDown ( MouseButton button ) : bool
button MouseButton
리턴 bool

IsMouseButtonUp() 공개 정적인 메소드

public static IsMouseButtonUp ( MouseButton button ) : bool
button MouseButton
리턴 bool

KeyPressed() 공개 정적인 메소드

public static KeyPressed ( Keys key, bool ignoreIfPlayerDoesNotHaveControl = true ) : bool
key Keys
ignoreIfPlayerDoesNotHaveControl bool
리턴 bool

KeyReleased() 공개 정적인 메소드

public static KeyReleased ( Keys key, bool ignoreIfPlayerDoesNotHaveControl = true ) : bool
key Keys
ignoreIfPlayerDoesNotHaveControl bool
리턴 bool

MouseButtonPressed() 공개 정적인 메소드

public static MouseButtonPressed ( MouseButton button ) : bool
button MouseButton
리턴 bool

MouseButtonReleased() 공개 정적인 메소드

public static MouseButtonReleased ( MouseButton button ) : bool
button MouseButton
리턴 bool