C# Class DebuffBase, Corsair

Inheritance: IBuff
Exibir arquivo 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_oe property

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

elapsedTime protected_oe property

The sum of every deltaTime.
protected float elapsedTime
return float

objectManager protected_oe property

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

owner protected_oe property

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