An application that allows a user to configure an actors senses.

Param

The Actor instance for which to configure senses

Hierarchy

  • any
    • SensesSelector

Constructors

Properties

DEFAULT_OPTIONS: {
    classes: string[];
    form: {
        closeOnSubmit: boolean;
        handler: ((event, form, formData) => Promise<void>);
        submitOnChange: boolean;
    };
    position: {
        width: number;
    };
    sheetConfig: boolean;
    tag: string;
    window: {
        minimizable: boolean;
        resizable: boolean;
    };
} = ...

Type declaration

  • classes: string[]
  • form: {
        closeOnSubmit: boolean;
        handler: ((event, form, formData) => Promise<void>);
        submitOnChange: boolean;
    }
    • closeOnSubmit: boolean
    • handler: ((event, form, formData) => Promise<void>)
        • (event, form, formData): Promise<void>
        • Internal

          Save the new vision details for the actor.

          Parameters

          • event: SubmitEvent

            The originating form submission event

          • form: HTMLFormElement

            The form element that was submitted

          • formData: FormDataExtended

            Processed data for the submitted form

          Returns Promise<void>

    • submitOnChange: boolean
  • position: {
        width: number;
    }
    • width: number
  • sheetConfig: boolean
  • tag: string
  • window: {
        minimizable: boolean;
        resizable: boolean;
    }
    • minimizable: boolean
    • resizable: boolean
PARTS: {
    footer: {
        template: string;
    };
    form: {
        template: string;
    };
} = ...

Type declaration

  • footer: {
        template: string;
    }
    • template: string
  • form: {
        template: string;
    }
    • template: string

Accessors

  • get convertKeys(): {
        bs: string;
        bse: string;
        dv: string;
        sc: string;
        tr: string;
        ts: string;
    }
  • Returns which keys to convert in distance or weight

    Returns {
        bs: string;
        bse: string;
        dv: string;
        sc: string;
        tr: string;
        ts: string;
    }

    • bs: string
    • bse: string
    • dv: string
    • sc: string
    • tr: string
    • ts: string

Methods

  • Internal

    Returns Promise<{
        actor: ActorPF;
        buttons: {
            icon: string;
            label: string;
            type: string;
        }[];
        gridUnits: string;
        isMetric: boolean;
        noSystemVision: any;
        senses: any;
    }>

    Inherit Doc

    Async

  • Internal

    Save the new vision details for the actor.

    Parameters

    • event: SubmitEvent

      The originating form submission event

    • form: HTMLFormElement

      The form element that was submitted

    • formData: FormDataExtended

      Processed data for the submitted form

    Returns Promise<void>

Generated using TypeDoc