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

Hierarchy (view full)

Constructors

Properties

active: boolean = false
cursor: number = 0
eggHatchContainer: Container
eventTarget: EventTarget = ...

Allows subscribers to listen for events

Current Events:

  • EggEventType.EGG_COUNT_CHANGED EggCountChangedEvent
mode: number
scene: default

Methods