C# Class OpenRA.Widgets.WorldInteractionControllerWidget

Inheritance: OpenRA.Widgets.Widget
Show file Open project: cjshmyr/OpenRA Class Usage Examples

Protected Properties

Property Type Description
World World

Private Properties

Property Type Description
ApplyOrders void
CycleStatusBars bool
DrawRollover void
SelectActorsByOwnerAndSelectionClass IEnumerable
SelectActorsInBoxWithDeadzone IEnumerable
SelectActorsInWorld IEnumerable
SelectActorsOnScreen IEnumerable
ToggleMute bool
TogglePixelDouble bool
TogglePlayerStanceColors bool
WorldInteractionControllerWidget System.Collections.Generic

Public Methods

Method Description
Draw ( ) : void
GetCursor ( int2 screenPos ) : string
HandleKeyPress ( KeyInput e ) : bool
HandleMouseInput ( MouseInput mi ) : bool

Private Methods

Method Description
ApplyOrders ( World world, MouseInput mi ) : void
CycleStatusBars ( ) : bool
DrawRollover ( Actor unit ) : void
SelectActorsByOwnerAndSelectionClass ( IEnumerable actors, Player owner, IEnumerable selectionClasses ) : IEnumerable
SelectActorsInBoxWithDeadzone ( World world, int2 a, int2 b ) : IEnumerable
SelectActorsInWorld ( World world, IEnumerable selectionClasses, Player player ) : IEnumerable
SelectActorsOnScreen ( World world, WorldRenderer wr, IEnumerable selectionClasses, Player player ) : IEnumerable
ToggleMute ( ) : bool
TogglePixelDouble ( ) : bool
TogglePlayerStanceColors ( ) : bool
WorldInteractionControllerWidget ( World world, WorldRenderer worldRenderer ) : System.Collections.Generic

Method Details

Draw() public method

public Draw ( ) : void
return void

GetCursor() public method

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

HandleKeyPress() public method

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

HandleMouseInput() public method

public HandleMouseInput ( MouseInput mi ) : bool
mi MouseInput
return bool

Property Details

World protected property

protected World World
return World