API Docs for:
Show:

Dashing Class

A component class that adds the ability to increase entity's movement speed.

Constructor

Dashing

(
  • dashingSpeedMultiplier
)

Parameters:

  • dashingSpeedMultiplier Number

    This 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.

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 Number

    This 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.