API Docs for:
Show:

SpellEffectsSystem Class

System responsible for updating all active spell effects. This system only updates durations, etc. and removes effects that have expired, etc. Any modifications done by spell effects are handled by the respective systems, so for example an AttackSpeedSpellEffect will be used by the AttackSystem to calculate the final attack cooldown.

Constructor

SpellEffectsSystem

(
  • entitySystemManager
  • healthSystem
)

Parameters:

  • entitySystemManager Manager

    The entity system manager whose entities this system will be working on.

  • healthSystem HealthSystem

Item Index

Methods

Methods

update

(
  • deltaTime
)

Parameters:

  • deltaTime Number

    The time that passed since last update.