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

Inheritance: AttackOmni, ITick, INotifyAttack
Afficher le fichier Open project: OpenRA/OpenRA Class Usage Examples

Méthodes publiques

Méthode Description
AttackCharge ( Actor self, AttackChargeInfo info ) : OpenRA.Activities
GetAttackActivity ( Actor self, Target newTarget, bool allowMove, bool forceAttack ) : Activity
Tick ( Actor self ) : void

Méthodes protégées

Méthode Description
CanAttack ( Actor self, Target target ) : bool

Private Methods

Méthode Description
INotifyAttack ( Actor self, Target target, Armament a, Barrel barrel ) : void

Method Details

AttackCharge() public méthode

public AttackCharge ( Actor self, AttackChargeInfo info ) : OpenRA.Activities
self Actor
info AttackChargeInfo
Résultat OpenRA.Activities

CanAttack() protected méthode

protected CanAttack ( Actor self, Target target ) : bool
self Actor
target OpenRA.Traits.Target
Résultat bool

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

Tick() public méthode

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