C# Class TrianglesInSpace.Input.InputController

Inheritance: IDisposable
Mostra file Open project: anthony-martin/Triangles-in-space Class Usage Examples

Public Methods

Method Description
Capture ( ) : void
Dispose ( ) : void
InputController ( string windowHandle, Camera camera, IBus bus, IClock clock, IPlayerId id ) : System
WndProc ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr

Private Methods

Method Description
AttackMode ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr
FromScreenToWorldPosition ( double mouseX, double mouseY ) : Vector
FromWinScreenToWorldPosition ( IntPtr hwnd, IntPtr param ) : Vector
GetWindowRect ( IntPtr hwnd, RECT &lpRect ) : bool
OnModeChanged ( ChangeInputModeMessage message ) : void
PlacementMode ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr
SetFocus ( IntPtr hwnd ) : IntPtr
StandardMode ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr

Method Details

Capture() public method

public Capture ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

InputController() public method

public InputController ( string windowHandle, Camera camera, IBus bus, IClock clock, IPlayerId id ) : System
windowHandle string
camera Camera
bus IBus
clock IClock
id IPlayerId
return System

WndProc() public method

public WndProc ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr
hwnd System.IntPtr
msg int
wParam System.IntPtr
lParam System.IntPtr
handled bool
return System.IntPtr