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
ManagerThe entity system manager whose entities this system will be working on.
-
inputSystem
KeyboardInputSystem