BasePlaceableHUD

BasePlaceableHUD

An abstract base class for displaying a heads-up-display interface bound to a Placeable Object on the canvas

Constructor

new BasePlaceableHUD()

Source:

Members

(static) defaultOptions :Object

Source:

Define the default options which are supported by any BasePleaceableHUD subclass

Type:
  • Object

layer :PlaceablesLayer

Source:

Convenience access for the canvas layer which this HUD modifies

Type:

object :PlaceableObject

Source:

Reference a PlaceableObject this HUD is currently bound to

Type:

Methods

activateListeners(html)

Source:

Activate event listeners which provide interactivity for the Token HUD application

Parameters:
Name Type Description
html

bind(object)

Source:

Bind the HUD to a new PlaceableObject and display it

Parameters:
Name Type Description
object PlaceableObject

A PlaceableObject instance to which the HUD should be bound

clear()

Source:

Clear the HUD by fading out it's active HTML and recording the new display state