C# Class RTSEngine.Controllers.CameraController

Exibir arquivo Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
CameraController ( int wWindow, int hWindow ) : System
GetResetDefault ( bool &b ) : void
GetZoom ( int &z ) : void
Hook ( GameWindow w ) : void
OnKeyPress ( object sender, KeyEventArgs args ) : void
OnKeyRelease ( object sender, KeyEventArgs args ) : void
OnMouseMovement ( Vector2 pos, Vector2 disp ) : void
OnMouseScroll ( int v, int d ) : void
OnWindowResize ( object sender, EventArgs args ) : void
Unhook ( GameWindow w ) : void

Method Details

CameraController() public method

public CameraController ( int wWindow, int hWindow ) : System
wWindow int
hWindow int
return System

GetResetDefault() public method

public GetResetDefault ( bool &b ) : void
b bool
return void

GetZoom() public method

public GetZoom ( int &z ) : void
z int
return void

Hook() public method

public Hook ( GameWindow w ) : void
w Microsoft.Xna.Framework.GameWindow
return void

OnKeyPress() public method

public OnKeyPress ( object sender, KeyEventArgs args ) : void
sender object
args KeyEventArgs
return void

OnKeyRelease() public method

public OnKeyRelease ( object sender, KeyEventArgs args ) : void
sender object
args KeyEventArgs
return void

OnMouseMovement() public method

public OnMouseMovement ( Vector2 pos, Vector2 disp ) : void
pos Vector2
disp Vector2
return void

OnMouseScroll() public method

public OnMouseScroll ( int v, int d ) : void
v int
d int
return void

OnWindowResize() public method

public OnWindowResize ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
return void

Unhook() public method

public Unhook ( GameWindow w ) : void
w Microsoft.Xna.Framework.GameWindow
return void