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

Inheritance: OpenRA.Traits.AttackBase, ITick, INotifyOwnerChanged
Afficher le fichier Open project: pchote/OpenRA Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public AttackFollow ( Actor self, AttackFollowInfo info ) : System
self Actor
info AttackFollowInfo
Résultat System

GetAttackActivity() public méthode

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

OnOwnerChanged() public méthode

public OnOwnerChanged ( Actor self, Player oldOwner, Player newOwner ) : void
self Actor
oldOwner Player
newOwner Player
Résultat void

ResolveOrder() public méthode

public ResolveOrder ( Actor self, Order order ) : void
self Actor
order Order
Résultat void

Tick() public méthode

public Tick ( Actor self ) : void
self Actor
Résultat void