A helper class for building MeasuredTemplates for PF1 spells and abilities

Hierarchy

Constructors

  • Parameters

    • document: MeasuredTemplateDocument

      The Document instance which is represented by this object

    Returns AbilityTemplate

Properties

active: undefined | boolean
document: any
hitArea: IHitArea

Methods

  • Activate listeners for the template preview

    Parameters

    • initialLayer: CanvasLayer<CanvasLayerOptions>

      The initially active CanvasLayer to re-activate after the workflow is complete

    Returns Promise<boolean>

    Returns true if placed, or false if cancelled

  • Creates a preview of the spell template

    Parameters

    • event: Event

      The initiating click event

    Returns Promise<boolean>

Generated using TypeDoc