Interface DieAnimationSettings

Hierarchy

  • DieAnimationSettings

Properties

animation?: BgaAnimation<BgaElementAnimationSettings>

An animation function, that return a Promise at the end of animation (the promise returns true if animation ended, false otherwise)

originalSide?: "front" | "back"

The side before animation.

rotationDelta?: number

If the die is rotated at the start of animation.

Generated using TypeDoc