C# Class Ensage.Common.Objects.UtilityObjects.AttackAnimationTracker

The attack animation tracker.
Afficher le fichier Open project: EnsageSharp/Ensage.Common

Private Properties

Свойство Type Description
Entity_OnInt32PropertyChange void

Méthodes publiques

Méthode Description
AttackEnd ( ) : void

The attack end.

AttackOrder ( ) : void

Informs attack animation tracker that the attack order was sent

AttackStart ( ) : void

The attack start.

CanAttack ( Unit target = null, float bonusWindupMs ) : bool

The can attack.

CanCancelAttack ( float delay = 0f ) : bool

The can cancel attack.

IsAttackOnCoolDown ( Unit target = null, float bonusWindupMs ) : bool

The is attack on cool down.

Méthodes protégées

Méthode Description
AttackAnimationTracker ( Unit unit ) : System

Initializes a new instance of the AttackAnimationTracker class.

Private Methods

Méthode Description
Entity_OnInt32PropertyChange ( System.Entity sender, Int32PropertyChangeEventArgs args ) : void

The entity_ on int 32 property change.

Method Details

AttackAnimationTracker() protected méthode

Initializes a new instance of the AttackAnimationTracker class.
protected AttackAnimationTracker ( Unit unit ) : System
unit Unit /// The unit. ///
Résultat System

AttackEnd() public méthode

The attack end.
public AttackEnd ( ) : void
Résultat void

AttackOrder() public méthode

Informs attack animation tracker that the attack order was sent
public AttackOrder ( ) : void
Résultat void

AttackStart() public méthode

The attack start.
public AttackStart ( ) : void
Résultat void

CanAttack() public méthode

The can attack.
public CanAttack ( Unit target = null, float bonusWindupMs ) : bool
target Unit /// The target. ///
bonusWindupMs float /// The bonus windup milliseconds. ///
Résultat bool

CanCancelAttack() public méthode

The can cancel attack.
public CanCancelAttack ( float delay = 0f ) : bool
delay float /// The delay. ///
Résultat bool

IsAttackOnCoolDown() public méthode

The is attack on cool down.
public IsAttackOnCoolDown ( Unit target = null, float bonusWindupMs ) : bool
target Unit /// The target. ///
bonusWindupMs float /// The bonus windup milliseconds. ///
Résultat bool