C# Class OpenRA.Mods.Common.Widgets.UnitCommandWidget

Contains all functions that are unit-specific.
Inheritance: OpenRA.Widgets.Widget
Show file Open project: pchote/OpenRA

Public Methods

Method Description
GetCursor ( int2 pos ) : string
GetEventBounds ( ) : Rectangle
HandleKeyPress ( KeyInput e ) : bool

Private Methods

Method Description
PerformAttackMove ( ) : bool
PerformDeploy ( ) : bool
PerformGuard ( ) : bool
PerformKeyboardOrderOnSelection ( Order>.Func f ) : void
PerformScatter ( ) : bool
PerformStanceCycle ( ) : bool
PerformStop ( ) : bool
ProcessInput ( KeyInput e ) : bool
UnitCommandWidget ( World world, WorldRenderer worldRenderer ) : System

Method Details

GetCursor() public method

public GetCursor ( int2 pos ) : string
pos int2
return string

GetEventBounds() public method

public GetEventBounds ( ) : Rectangle
return System.Drawing.Rectangle

HandleKeyPress() public method

public HandleKeyPress ( KeyInput e ) : bool
e KeyInput
return bool