A configuration class managing the Combat Turn Markers.

Properties

CONFIG_SETTING: string = "combatTrackerConfig"

The configuration setting used to record Combat preferences

Accessors

  • get resource(): string

    Get tracked resource setting.

    Returns string

  • get skipDefeated(): boolean

    Get skip defeated setting.

    Returns boolean

  • get turnMarker(): Object

    Get turn marker settings.

    Returns Object

  • get turnMarkerAnimations(): { label: string; value: string }[]

    Get all animations and labels as an array of choices suitable for a select element.

    Returns { label: string; value: string }[]

  • get schema(): SchemaField

    The data model schema used to structure and validate the stored setting.

    Returns SchemaField

Methods

  • Add a new turn marker animation.

    Parameters

    • id: string

      The id of the turn marker animation.

    • config: TurnMarkerAnimationData

      The configuration object for the turn marker animation.

    Returns void

  • Use a turn marker animation.

    Parameters

    • animationId: string

      The id of the turn marker animation to use.

    Returns boolean

    True if the animation was successfully set, false otherwise.

  • Register the token ring config and initialize it

    Returns void

  • Register game settings used by the Combat Tracker

    Returns void