C# 클래스 Ypsilon.Core.Input.InputManager

파일 보기 프로젝트 열기: ZaneDubya/YCPU 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DoubleClickSeconds float

Private Properties

프로퍼티 타입 설명
AddEvent void
CopyEvents void
DistanceBetweenPoints bool
OnKeyChar void
OnKeyDown void
OnKeyUp void
OnMouseDown void
OnMouseMove void
OnMouseUp void
OnMouseWheel void

공개 메소드들

메소드 설명
CreateMouseState ( Microsoft.Xna.Framework.Input.MouseState state ) : Microsoft.Xna.Framework.Input.MouseState
Dispose ( ) : void
GetKeyboardEvents ( ) : List
GetMouseEvents ( ) : List
HandleKeyboardEvent ( KeyboardEvent type, WinKeys key, bool shift, bool alt, bool ctrl ) : bool
HandleMouseEvent ( MouseEvent type, MouseButton mb ) : bool
InputManager ( IntPtr handle ) : System
IsKeyDown ( WinKeys key ) : bool
Update ( float totalSeconds, float frameSeconds ) : void

비공개 메소드들

메소드 설명
AddEvent ( InputEvent e ) : void
CopyEvents ( ) : void
DistanceBetweenPoints ( Point initial, Point final, int distance ) : bool
OnKeyChar ( InputEventKeyboard e ) : void
OnKeyDown ( InputEventKeyboard e ) : void
OnKeyUp ( InputEventKeyboard e ) : void
OnMouseDown ( InputEventMouse e ) : void
OnMouseMove ( InputEventMouse e ) : void
OnMouseUp ( InputEventMouse e ) : void
OnMouseWheel ( InputEventMouse e ) : void

메소드 상세

CreateMouseState() 공개 메소드

public CreateMouseState ( Microsoft.Xna.Framework.Input.MouseState state ) : Microsoft.Xna.Framework.Input.MouseState
state Microsoft.Xna.Framework.Input.MouseState
리턴 Microsoft.Xna.Framework.Input.MouseState

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetKeyboardEvents() 공개 메소드

public GetKeyboardEvents ( ) : List
리턴 List

GetMouseEvents() 공개 메소드

public GetMouseEvents ( ) : List
리턴 List

HandleKeyboardEvent() 공개 메소드

public HandleKeyboardEvent ( KeyboardEvent type, WinKeys key, bool shift, bool alt, bool ctrl ) : bool
type KeyboardEvent
key WinKeys
shift bool
alt bool
ctrl bool
리턴 bool

HandleMouseEvent() 공개 메소드

public HandleMouseEvent ( MouseEvent type, MouseButton mb ) : bool
type MouseEvent
mb MouseButton
리턴 bool

InputManager() 공개 메소드

public InputManager ( IntPtr handle ) : System
handle System.IntPtr
리턴 System

IsKeyDown() 공개 메소드

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

Update() 공개 메소드

public Update ( float totalSeconds, float frameSeconds ) : void
totalSeconds float
frameSeconds float
리턴 void

프로퍼티 상세

DoubleClickSeconds 공개적으로 정적으로 프로퍼티

public static float DoubleClickSeconds
리턴 float