C# Class OpenRA.Mods.Common.Activities.ReturnToBase

Inheritance: Activity
Exibir arquivo Open project: pchote/OpenRA Class Usage Examples

Public Methods

Method Description
ChooseAirfield ( Actor self, bool unreservedOnly ) : Actor
ReturnToBase ( Actor self, bool abortOnResupply, Actor dest = null, bool alwaysLand = true ) : System
Tick ( Actor self ) : Activity

Private Methods

Method Description
Calculate ( Actor self ) : void
CalculateTurnRadius ( int speed ) : int
ShouldLandAtBuilding ( Actor self, Actor dest ) : bool

Method Details

ChooseAirfield() public static method

public static ChooseAirfield ( Actor self, bool unreservedOnly ) : Actor
self Actor
unreservedOnly bool
return Actor

ReturnToBase() public method

public ReturnToBase ( Actor self, bool abortOnResupply, Actor dest = null, bool alwaysLand = true ) : System
self Actor
abortOnResupply bool
dest Actor
alwaysLand bool
return System

Tick() public method

public Tick ( Actor self ) : Activity
self Actor
return Activity