Interface IAbilityDash

  • All Superinterfaces:
    IAbility, IAbilityAction

    public interface IAbilityDash
    extends IAbility
    API interface for Dash abilities. Quick evasive sidestep movement.
    • Method Detail

      • getDashMode

        int getDashMode()
        Returns:
        Dash mode ordinal (0=AGGRESSIVE, 1=DEFENSIVE, 2=DIRECTIONAL).
      • setDashMode

        void setDashMode​(int mode)
        Parameters:
        mode - Dash mode ordinal (0=AGGRESSIVE, 1=DEFENSIVE, 2=DIRECTIONAL).
      • getDashDistance

        float getDashDistance()
        Returns:
        Distance covered by the dash in blocks.
      • setDashDistance

        void setDashDistance​(float distance)
        Parameters:
        distance - Dash distance in blocks.
      • getDashSpeed

        float getDashSpeed()
        Returns:
        Speed of the dash movement.
      • setDashSpeed

        void setDashSpeed​(float speed)
        Parameters:
        speed - Dash movement speed.
      • getDashAngle

        float getDashAngle()
        Returns:
        Angle offset of the dash direction in degrees.
      • setDashAngle

        void setDashAngle​(float dashAngle)
        Parameters:
        dashAngle - Direction angle offset in degrees.
      • getDashDirection

        int getDashDirection()
        Returns:
        Dash direction ordinal (determines lateral movement direction).
      • setDashDirection

        void setDashDirection​(int mode)
        Parameters:
        mode - Dash direction ordinal.