C# Class TrianglesInSpace.Input.InputController

Inheritance: IDisposable
Afficher le fichier Open project: anthony-martin/Triangles-in-space Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Capture ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

InputController() public méthode

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

WndProc() public méthode

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
Résultat System.IntPtr