BasePlaceableHUD

BasePlaceableHUD

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

Members

(static) defaultOptions

Source:

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

(async) _render()

Source:

activateListeners()

Source:

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

getData()

Source:

setPosition()

Source: