C# Класс Slow, Corsair

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Apply ( float deltaTime ) : bool

Applies the Buff.

EndEffect ( ) : void

Ends a Buff's effect.

Slow ( EnemyBase, owner, float duration, float slowPercent )

Initializes an instance of DebuffBase.

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

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

Applies the Buff.
public Apply ( float deltaTime ) : bool
deltaTime float The time between the last application.
Результат bool

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

Ends a Buff's effect.
public EndEffect ( ) : void
Результат void

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

Initializes an instance of DebuffBase.
public Slow ( EnemyBase, owner, float duration, float slowPercent )
owner EnemyBase, The agent under the effect.
duration float The length of time the buff is active.
slowPercent float The percentage of the agent's speed to subtract.