ActorSheet

ActorSheet

The default Actor Sheet

This Application is responsible for rendering an actor's attributes and allowing the actor to be edited.

System modifications may elect to override this class to better suit their own game system by re-defining the value CONFIG.Actor.sheetClass.

Constructor

new ActorSheet(actor, optionsopt)

Source:
Parameters:
Name Type Attributes Description
actor Actor

The Actor instance being displayed within the sheet.

options Object <optional>

Additional options which modify the rendering of the Actor's sheet.

Properties
Name Type Attributes Description
editable Boolean <optional>

Is the Actor editable? Default is true.

Members

(static) defaultOptions :Object

Source:

Default rendering and configuration options used for the ActorSheet and its subclasses. See Application.defaultOptions and FormApplication.defaultOptions for more details.

Type:
  • Object

actor :Actor

Source:

A convenience reference to the Actor entity

Type:

id

Source:

Define a unique and dynamic element ID for the rendered ActorSheet application

title :String

Source:

The displayed window title for the sheet - the entity name by default

Type:

token :Token

Source:

If this Actor Sheet represents a synthetic Token actor, reference the active Token

Type:

Methods

_getHeaderButtons()

Source:

(async) _render()

Source:

activateListeners(html)

Source:

Activate the default set of listeners for the Actor Sheet These listeners handle basic stuff like form submission or updating images

Parameters:
Name Type Description
html JQuery

The rendered template ready to have listeners attached

getData()

Source: