Skip to main content

PlatformGetAnim

Callable

  • PlatformGetAnim(C: any, Pose: string, Cycle?: boolean): any

  • Get the proper animation from the cycle to draw


    Parameters

    • C: any

      The character to evaluate

    • Pose: string

      The pose we want

    • Cycle: boolean = null

      TRUE if we must use the animation cycle

    Returns any

    • An object with the image, width & height to draw