A basic abstract class to act as a holder and processor for UI elements.

Hierarchy (view full)

Constructors

Properties

active: boolean = false
awaitingActionInput: boolean
cursor: number = 0
mode: null | number
onActionInput: null | Function
scene: default
tutorialActive: boolean = false
tutorialOverlay: Rectangle

Methods

  • Create a semi transparent overlay that will get shown during tutorials

    Parameters

    • container: Container

      the container to add the overlay to

    Returns void