C# Class OpenRA.Traits.SelectableExts

Show file Open project: pchote/OpenRA

Public Methods

Method Description
SelectionPriority ( this a ) : int
SubsetWithHighestSelectionPriority ( this actors ) : IEnumerable
WithHighestSelectionPriority ( this actors, int2 selectionPixel ) : Actor
WithHighestSelectionPriority ( this actors, int2 selectionPixel ) : OpenRA.Traits.FrozenActor

Private Methods

Method Description
CalculateActorSelectionPriority ( ActorInfo info, Rectangle bounds, int2 selectionPixel ) : long

Method Details

SelectionPriority() public static method

public static SelectionPriority ( this a ) : int
a this
return int

SubsetWithHighestSelectionPriority() public static method

public static SubsetWithHighestSelectionPriority ( this actors ) : IEnumerable
actors this
return IEnumerable

WithHighestSelectionPriority() public static method

public static WithHighestSelectionPriority ( this actors, int2 selectionPixel ) : Actor
actors this
selectionPixel int2
return Actor

WithHighestSelectionPriority() public static method

public static WithHighestSelectionPriority ( this actors, int2 selectionPixel ) : OpenRA.Traits.FrozenActor
actors this
selectionPixel int2
return OpenRA.Traits.FrozenActor