C# Class Slow, Corsair

Mostra file Open project: Final-Parsec/Corsair Class Usage Examples

Public Methods

Method Description
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.

Method Details

Apply() public method

Applies the Buff.
public Apply ( float deltaTime ) : bool
deltaTime float The time between the last application.
return bool

EndEffect() public method

Ends a Buff's effect.
public EndEffect ( ) : void
return void

Slow() public method

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.