ProtectedawaitingPrivate ReadonlyCOLUMNSProtectedcursorPrivatecursorPrivateeggPrivateeggPrivateeggPrivateeggPrivateeggPrivateeggPrivateeggPrivateeggPrivateeggPrivateiconOptionalnameThe container for the name box
ProtectedonPrivate ReadonlyROWSPrivatescrollProtectedtextProtectedtextReadonlywordTo be implemented by individual handlers when necessary to free memory Called when BattleScene is reset
PrivateinitCreate the grid of egg icons to display
Add the name box shown by showDialogue to the given message container.
The container holding the message text
The x position of the name box
The y position of the name box
Add the sprite to be displayed at the end of messages with prompts
the container to add the sprite to
Create a semi transparent overlay that will get shown during tutorials
the container to add the overlay to
PrivatesetUpdate the information panel with the information of the given egg
which egg in the list to display the info for
ProtectedsetChanges the style of the mouse cursor.
cursor style to apply
Optionalname: stringOptionaldelay: number | nullOptionalcallback: (() => void) | nullOptionalcallbackDelay: number | nullOptionalprompt: boolean | nullOptionalpromptDelay: number | nullOptionalcallback: (() => void) | nullOptionalcallbackDelay: number | nullOptionaldelay: number | nullOptionalcallback: (() => void) | nullOptionalcallbackDelay: number | nullOptionalprompt: boolean | nullOptionalpromptDelay: number | nullPrivateupdateShow the grid of egg icons
A basic abstract class to act as a holder and processor for UI elements.