C# Class Nomad.Utils.InputBase

Inheritance: IInputSink
ファイルを表示 Open project: Azerothian/fc3editor

Public Methods

Method Description
OnEditorEvent ( uint eventType, IntPtr eventPtr ) : void
OnInputAcquire ( ) : void
OnInputRelease ( ) : void
OnKeyEvent ( KeyEvent keyEvent, KeyEventArgs keyEventArgs ) : bool
OnMouseEvent ( MouseEvent mouseEvent, MouseEventArgs mouseEventArgs ) : bool
Update ( float dt ) : void

Protected Methods

Method Description
AcquireInput ( ) : void
ReleaseInput ( ) : void

Method Details

AcquireInput() protected method

protected AcquireInput ( ) : void
return void

OnEditorEvent() public method

public OnEditorEvent ( uint eventType, IntPtr eventPtr ) : void
eventType uint
eventPtr System.IntPtr
return void

OnInputAcquire() public method

public OnInputAcquire ( ) : void
return void

OnInputRelease() public method

public OnInputRelease ( ) : void
return void

OnKeyEvent() public method

public OnKeyEvent ( KeyEvent keyEvent, KeyEventArgs keyEventArgs ) : bool
keyEvent KeyEvent
keyEventArgs System.Windows.Forms.KeyEventArgs
return bool

OnMouseEvent() public method

public OnMouseEvent ( MouseEvent mouseEvent, MouseEventArgs mouseEventArgs ) : bool
mouseEvent MouseEvent
mouseEventArgs System.Windows.Forms.MouseEventArgs
return bool

ReleaseInput() protected method

protected ReleaseInput ( ) : void
return void

Update() public method

public Update ( float dt ) : void
dt float
return void