Dashing Class
A component class that adds the ability to increase entity's movement speed.
Constructor
Dashing
(
-
dashingSpeedMultiplier
Parameters:
-
dashingSpeedMultiplier
NumberThis multiplier will be used to create a MovementSpeedSpellEffect, so the same rules apply. Since this component is responsible for dashing, this value should probably be greater than 1.
Item Index
Methods
getDashingSpeedMultiplier
()
Number
Returns:
Number:
isDashing
()
Boolean
Returns:
Boolean:
True if the entity's currently in the dashing state, otherwise false.
setDashingSpeedMultiplier
(
-
dashingSpeedMultiplier
Parameters:
-
dashingSpeedMultiplier
NumberThis multiplier will be used to create a MovementSpeedSpellEffect, so the same rules apply. Since this component is responsible for dashing, this value should probably be greater than 1.