C# Class OpenRA.Orders.UnitOrderGenerator

Inheritance: IOrderGenerator
Afficher le fichier Open project: pchote/OpenRA

Méthodes publiques

Méthode Description
GetCursor ( World world, CPos cell, int2 worldPixel, MouseInput mi ) : string
InputOverridesSelection ( World world, int2 xy, MouseInput mi ) : bool
Order ( World world, CPos cell, int2 worldPixel, MouseInput mi ) : IEnumerable
Render ( WorldRenderer wr, World world ) : IEnumerable
RenderAboveShroud ( WorldRenderer wr, World world ) : IEnumerable
Tick ( World world ) : void

Private Methods

Méthode Description
CheckSameOrder ( IOrderTargeter iot, Order order ) : Order
OrderForUnit ( Actor self, Target target, List actorsAt, CPos xy, MouseInput mi ) : UnitOrderResult

Returns the most appropriate order for a given actor and target. First priority is given to orders that interact with the given actors. Second priority is given to actors in the given cell.

TargetForInput ( World world, CPos cell, int2 worldPixel, MouseInput mi ) : Target

Method Details

GetCursor() public méthode

public GetCursor ( World world, CPos cell, int2 worldPixel, MouseInput mi ) : string
world World
cell CPos
worldPixel int2
mi MouseInput
Résultat string

InputOverridesSelection() public méthode

public InputOverridesSelection ( World world, int2 xy, MouseInput mi ) : bool
world World
xy int2
mi MouseInput
Résultat bool

Order() public méthode

public Order ( World world, CPos cell, int2 worldPixel, MouseInput mi ) : IEnumerable
world World
cell CPos
worldPixel int2
mi MouseInput
Résultat IEnumerable

Render() public méthode

public Render ( WorldRenderer wr, World world ) : IEnumerable
wr OpenRA.Graphics.WorldRenderer
world World
Résultat IEnumerable

RenderAboveShroud() public méthode

public RenderAboveShroud ( WorldRenderer wr, World world ) : IEnumerable
wr OpenRA.Graphics.WorldRenderer
world World
Résultat IEnumerable

Tick() public méthode

public Tick ( World world ) : void
world World
Résultat void