C# Class ArmorReduce, Corsair

Inheritance: DebuffBase
Show file Open project: Final-Parsec/Corsair Class Usage Examples

Public Methods

Method Description
Apply ( float deltaTime ) : bool

Applies the Buff.

ArmorReduce ( EnemyBase, owner, float duration, int reductionAmmount )

Initializes an instance of DebuffBase.

EndEffect ( ) : void

Ends a Buff's effect.

Method Details

Apply() public method

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

ArmorReduce() public method

Initializes an instance of DebuffBase.
public ArmorReduce ( EnemyBase, owner, float duration, int reductionAmmount )
owner EnemyBase, The agent under the effect.
duration float The length of time the buff is active.
reductionAmmount int The ammount to reduce the armor by.

EndEffect() public method

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