C# Класс Ensage.Common.Objects.UtilityObjects.AttackAnimationTracker

The attack animation tracker.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
Entity_OnInt32PropertyChange void

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
AttackAnimationTracker ( Unit unit ) : System

Initializes a new instance of the AttackAnimationTracker class.

Приватные методы

Метод Описание
Entity_OnInt32PropertyChange ( System.Entity sender, Int32PropertyChangeEventArgs args ) : void

The entity_ on int 32 property change.

Описание методов

AttackAnimationTracker() защищенный Метод

Initializes a new instance of the AttackAnimationTracker class.
protected AttackAnimationTracker ( Unit unit ) : System
unit Unit /// The unit. ///
Результат System

AttackEnd() публичный Метод

The attack end.
public AttackEnd ( ) : void
Результат void

AttackOrder() публичный Метод

Informs attack animation tracker that the attack order was sent
public AttackOrder ( ) : void
Результат void

AttackStart() публичный Метод

The attack start.
public AttackStart ( ) : void
Результат void

CanAttack() публичный Метод

The can attack.
public CanAttack ( Unit target = null, float bonusWindupMs ) : bool
target Unit /// The target. ///
bonusWindupMs float /// The bonus windup milliseconds. ///
Результат bool

CanCancelAttack() публичный Метод

The can cancel attack.
public CanCancelAttack ( float delay = 0f ) : bool
delay float /// The delay. ///
Результат bool

IsAttackOnCoolDown() публичный Метод

The is attack on cool down.
public IsAttackOnCoolDown ( Unit target = null, float bonusWindupMs ) : bool
target Unit /// The target. ///
bonusWindupMs float /// The bonus windup milliseconds. ///
Результат bool