Hierarchy (View Summary)

Indexable

  • [key: string]: any

Constructors

Properties

Special actor data array

_bonusXP: number = 0

Bonus XP granted

DEFAULT_OPTIONS: {
    actions: { full: (event: Event) => any; split: (event: Event) => any };
    classes: string[];
    dragDrop: { dragSelector: null; dropSelector: string }[];
    position: { height: number; width: number };
    tag: string;
    window: { minimizable: boolean; resizable: boolean; title: string };
} = ...
PARTS: {
    footer: { template: string };
    form: { scrollable: string[]; template: string };
} = ...

Accessors

Methods

  • Protected

    Define whether a user is able to conclude a drag-and-drop workflow for a given drop selector

    Parameters

    • selector: string

      The candidate HTML selector for the drop target

    Returns boolean

    Can the current user drop on this selector?

  • Internal

    Distributes experience to all PC actors

    Parameters

    • ...this: any
    • splitEvenly: boolean = false

      Should XP be split evenly?

    Returns void

  • Internal

    The event handler for changes to form input elements

    Parameters

    • formConfig: ApplicationFormConfiguration

      The configuration of the form being changed

    • event: Event

      The triggering event

    Returns void

  • Protected

    Actions performed after any render of the Application. Post-render steps are not awaited by the render process.

    Parameters

    • context: ApplicationRenderContext

      Prepared context data

    • options: RenderOptions

      Provided render options

    Returns void