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

Inheritance: Activity
Show file Open project: OpenRA/OpenRA

Public Methods

Method Description
Cancel ( Actor self ) : void
Tick ( Actor self ) : Activity

Protected Methods

Method Description
AbortOrExit ( Actor self ) : void
CanReserve ( Actor self ) : bool
Done ( Actor self ) : void
Enter ( Actor self, Actor target, EnterBehaviour enterBehaviour, int maxTries = 1, bool targetCenter = false ) : System
InsideTick ( Actor self ) : Activity
OnInside ( Actor self ) : void
Reserve ( Actor self ) : ReserveStatus
TryGetAlternateTarget ( Actor self, int tries, Target &target ) : bool
TryGetAlternateTargetInCircle ( Actor self, WDist radius, Action update, bool>.Func primaryFilter, bool>.Func preferenceFilters = null ) : bool
Unreserve ( Actor self, bool abort ) : void

Private Methods

Method Description
CanceledTick ( Actor self ) : Activity
FindAndTransitionToNextState ( Actor self ) : State
TryReserveElseTryAlternateReserve ( Actor self ) : ReserveStatus

Method Details

AbortOrExit() protected method

protected AbortOrExit ( Actor self ) : void
self Actor
return void

CanReserve() protected method

protected CanReserve ( Actor self ) : bool
self Actor
return bool

Cancel() public method

public Cancel ( Actor self ) : void
self Actor
return void

Done() protected method

protected Done ( Actor self ) : void
self Actor
return void

Enter() protected method

protected Enter ( Actor self, Actor target, EnterBehaviour enterBehaviour, int maxTries = 1, bool targetCenter = false ) : System
self Actor
target Actor
enterBehaviour EnterBehaviour
maxTries int
targetCenter bool
return System

InsideTick() protected method

protected InsideTick ( Actor self ) : Activity
self Actor
return Activity

OnInside() protected method

protected OnInside ( Actor self ) : void
self Actor
return void

Reserve() protected method

protected Reserve ( Actor self ) : ReserveStatus
self Actor
return ReserveStatus

Tick() public method

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

TryGetAlternateTarget() protected method

protected TryGetAlternateTarget ( Actor self, int tries, Target &target ) : bool
self Actor
tries int
target OpenRA.Traits.Target
return bool

TryGetAlternateTargetInCircle() protected method

protected TryGetAlternateTargetInCircle ( Actor self, WDist radius, Action update, bool>.Func primaryFilter, bool>.Func preferenceFilters = null ) : bool
self Actor
radius WDist
update Action
primaryFilter bool>.Func
preferenceFilters bool>.Func
return bool

Unreserve() protected method

protected Unreserve ( Actor self, bool abort ) : void
self Actor
abort bool
return void