Hierarchy

  • Token
    • TokenPF

Constructors

  • Parameters

    • document: TokenDocument

      The Document instance which is represented by this object

    Returns TokenPF

Accessors

  • get actorVision(): {
        lowLight: any;
        lowLightMultiplier: any;
        lowLightMultiplierBright: any;
    }
  • Returns {
        lowLight: any;
        lowLightMultiplier: any;
        lowLightMultiplierBright: any;
    }

    • lowLight: any
    • lowLightMultiplier: any
    • lowLightMultiplierBright: any
  • get sizeErrorMargin(): number
  • Returns error margin, in pixels, for measuring to and from token center.

    Defined as larger of half the token's width and height.

    Returns number

Methods

  • Protected

    Draw a single resource bar, given provided data.

    Parameters

    • number: number

      The Bar number>

    • bar: Graphics

      The Bar container.

    • data: object

      Resource data for this bar.

    Returns void

  • Protected

    Parameters

    • data: object

      Resource data for this bar

    Returns null | number

    The number to boost the bar by, if any.

  • Protected

    Determines the length of the underline (bottom half-height bar overlay) on a token bar.

    Parameters

    • data: object

      Resource data for this bar

    Returns null | number

    The value of the bar underline, if any.

  • Parameters

    • effect: any
    • __namedParameters: {
          active: any;
          midUpdate: any;
          overlay: undefined | boolean;
      } = {}
      • active: any
      • midUpdate: any
      • overlay: undefined | boolean

    Returns Promise<undefined | boolean | ActorPF | ItemPF>

Generated using TypeDoc