Pathfinder 1e for Foundry VTT
    Preparing search index...

    An application that renders the movement speed configuration of an item

    The Actor instance for which to configure resting

    Hierarchy

    • HandlebarsApplication<this> & DocumentSheetV2<
          any,
          RenderContext<any>,
          Configuration<any>,
          RenderOptions,
          this,
      >
      • SpeedEditor
    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    • Parameters

      • Optionaloptions: {}

      Returns SpeedEditor

    Properties

    DEFAULT_OPTIONS: {
        classes: string[];
        form: {
            closeOnSubmit: boolean;
            handler: (
                ...this: any,
                event: SubmitEvent,
                form: HTMLFormElement,
                formData: FormDataExtended,
            ) => Promise<void>;
            submitOnChange: boolean;
            submitOnClose: boolean;
        };
        position: { width: number };
        sheetConfig: boolean;
        tag: string;
        window: { icon: string; minimizable: boolean; resizable: boolean };
    } = ...
    PARTS: { footer: { template: string }; form: { template: string } } = ...

    Accessors

    • get title(): string

      Configure the title of the speed editor window to include document name, and optionally the actors name, if present

      Returns string

    Methods

    • Protected

      Returns Promise<
          {
              buttons: { icon: string; label: string; type: string }[];
              flyManeuverability: {
                  average: string;
                  clumsy: string;
                  good: string;
                  perfect: string;
                  poor: string;
              };
              item: any;
              speeds: { flyManeuverability: any };
              step: number;
              system: any;
              units: string;
          },
      >

    • Internal

      Save the movement speed data back to the item

      Parameters

      • ...this: any
      • event: SubmitEvent

        The originating form submission event

      • form: HTMLFormElement

        The form element that was submitted

      • formData: FormDataExtended

        Processed data for the submitted form

        • object

          The movement speed configuration

      Returns Promise<void>