C# Class DebuffBase, Corsair

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

Protected Properties

Property Type Description
duration float
elapsedTime float
objectManager ObjectManager,
owner EnemyBase,

Public Methods

Method Description
Apply ( float deltaTime ) : bool

Applies the Buff.

EndEffect ( ) : void

Ends a Buff's effect.

Method Details

Apply() public abstract method

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

EndEffect() public abstract method

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

Property Details

duration protected property

The length of time the DebuffBase is active.
protected float duration
return float

elapsedTime protected property

The sum of every deltaTime.
protected float elapsedTime
return float

objectManager protected property

Manages and maps class instances.
protected ObjectManager, objectManager
return ObjectManager,

owner protected property

The EnemyBase being Debuffed.
protected EnemyBase, owner
return EnemyBase,