API Docs for:
Show:

DashingSystem Class

The system uses the 'moveLeft' and 'moveRight' events triggered by the input system to trigger dashing. The system uses a double click appraoch for that. Dashing is achieved by usage of a MovementSpeedSpellEffect and it requires a Dashing, GroundedMovement and SpellEffects components to be present on an entity.

Constructor

DashingSystem

(
  • entitySystemManager
  • inputSystem
)

Parameters:

  • entitySystemManager Manager

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

  • inputSystem KeyboardInputSystem

Item Index

Methods

Methods

update

(
  • deltaTime
)

Parameters:

  • deltaTime Number