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

Inheritance: AttackOmni, ITick, INotifyAttack
Exibir arquivo Open project: OpenRA/OpenRA Class Usage Examples

Public Methods

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

Protected Methods

Method Description
CanAttack ( Actor self, Target target ) : bool

Private Methods

Method Description
INotifyAttack ( Actor self, Target target, Armament a, Barrel barrel ) : void

Method Details

AttackCharge() public method

public AttackCharge ( Actor self, AttackChargeInfo info ) : OpenRA.Activities
self Actor
info AttackChargeInfo
return OpenRA.Activities

CanAttack() protected method

protected CanAttack ( Actor self, Target target ) : bool
self Actor
target OpenRA.Traits.Target
return bool

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

Tick() public method

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