Options for this layer instance.
The canonical name of the CanvasLayer
The name used by hooks to construct their hook string. Note: You should override this getter if hookName should not return the class constructor name.
Customize behaviors of this CanvasLayer by modifying some behaviors at a class level.
Return a reference to the active instance of this canvas layer
Draw the canvas layer, rendering its internal components and returning a Promise. The Promise resolves to the drawn layer once its contents are successfully rendered.
Deconstruct data used in the current layer in preparation to re-draw the canvas
The inner _draw method which must be defined by each CanvasLayer subclass.
The inner _tearDown method which may be customized by each CanvasLayer subclass.
An abstract pattern for primary layers of the game canvas to implement.