C# Class OpenRA.Orders.GenericSelectTarget

Inheritance: IOrderGenerator
ファイルを表示 Open project: pchote/OpenRA

Protected Properties

Property Type Description
Cursor string
ExpectedButton MouseButton
OrderName string
Subjects IEnumerable

Public Methods

Method Description
GenericSelectTarget ( Actor subject, string order, string cursor ) : System.Collections.Generic
GenericSelectTarget ( Actor subject, string order, string cursor, MouseButton button ) : System.Collections.Generic
GenericSelectTarget ( IEnumerable subjects, string order, string cursor ) : System.Collections.Generic
GenericSelectTarget ( IEnumerable subjects, string order, string cursor, MouseButton button ) : System.Collections.Generic
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

Protected Methods

Method Description
OrderInner ( World world, CPos cell, MouseInput mi ) : IEnumerable

Method Details

GenericSelectTarget() public method

public GenericSelectTarget ( Actor subject, string order, string cursor ) : System.Collections.Generic
subject Actor
order string
cursor string
return System.Collections.Generic

GenericSelectTarget() public method

public GenericSelectTarget ( Actor subject, string order, string cursor, MouseButton button ) : System.Collections.Generic
subject Actor
order string
cursor string
button MouseButton
return System.Collections.Generic

GenericSelectTarget() public method

public GenericSelectTarget ( IEnumerable subjects, string order, string cursor ) : System.Collections.Generic
subjects IEnumerable
order string
cursor string
return System.Collections.Generic

GenericSelectTarget() public method

public GenericSelectTarget ( IEnumerable subjects, string order, string cursor, MouseButton button ) : System.Collections.Generic
subjects IEnumerable
order string
cursor string
button MouseButton
return System.Collections.Generic

GetCursor() public method

public GetCursor ( World world, CPos cell, int2 worldPixel, MouseInput mi ) : string
world World
cell CPos
worldPixel int2
mi MouseInput
return string

InputOverridesSelection() public method

public InputOverridesSelection ( World world, int2 xy, MouseInput mi ) : bool
world World
xy int2
mi MouseInput
return bool

Order() public method

public Order ( World world, CPos cell, int2 worldPixel, MouseInput mi ) : IEnumerable
world World
cell CPos
worldPixel int2
mi MouseInput
return IEnumerable

OrderInner() protected method

protected OrderInner ( World world, CPos cell, MouseInput mi ) : IEnumerable
world World
cell CPos
mi MouseInput
return IEnumerable

Property Details

Cursor protected_oe property

protected string Cursor
return string

ExpectedButton protected_oe property

protected MouseButton ExpectedButton
return MouseButton

OrderName protected_oe property

protected string OrderName
return string

Subjects protected_oe property

protected IEnumerable Subjects
return IEnumerable