C# Class OpenRA.Mods.Common.Traits.AttackFollow

Inheritance: OpenRA.Traits.AttackBase, ITick, INotifyOwnerChanged
Datei anzeigen Open project: pchote/OpenRA Class Usage Examples

Public Methods

Method Description
AttackFollow ( Actor self, AttackFollowInfo info ) : System
GetAttackActivity ( Actor self, Target newTarget, bool allowMove, bool forceAttack ) : Activity
OnOwnerChanged ( Actor self, Player oldOwner, Player newOwner ) : void
ResolveOrder ( Actor self, Order order ) : void
Tick ( Actor self ) : void

Method Details

AttackFollow() public method

public AttackFollow ( Actor self, AttackFollowInfo info ) : System
self Actor
info AttackFollowInfo
return System

GetAttackActivity() public method

public GetAttackActivity ( Actor self, Target newTarget, bool allowMove, bool forceAttack ) : Activity
self Actor
newTarget OpenRA.Traits.Target
allowMove bool
forceAttack bool
return Activity

OnOwnerChanged() public method

public OnOwnerChanged ( Actor self, Player oldOwner, Player newOwner ) : void
self Actor
oldOwner Player
newOwner Player
return void

ResolveOrder() public method

public ResolveOrder ( Actor self, Order order ) : void
self Actor
order Order
return void

Tick() public method

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