PrivateachvsPrivateachvsProtectedawaitingPrivate ReadonlyCOLSPrivatecurrentPrivatecurrentProtectedcursorPrivatecursorPrivateheaderPrivateheaderPrivateheaderPrivateheaderPrivateheaderPrivateiconsPrivateiconsPrivateiconsPrivatemainProtectedmodeProtectedonPrivate ReadonlyROWSPrivatescorePrivatescorePrivatescrollPrivatescrollProtectedtextProtectedtextPrivatetitlePrivatetitlePrivateunlockPrivatevouchersPrivatevouchersTo be implemented by individual handlers when necessary to free memory Called when BattleScene is reset
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
PrivateprocessSubmethod of processInput that handles the action button input
Whether the success sound should be played
PrivateprocessSubmethod of processInput that handles the down button input
Whether the success sound should be played
Process user input to navigate through the achievements and vouchers UI.
The button that was pressed
Whether an action was successfully processed
PrivateprocessSubmethod of processInput that handles the left button input
Whether the success sound should be played
PrivateprocessSubmethod of processInput that handles the right button input
Whether the success sound should be played
PrivateprocessSubmethod of processInput that handles the up button input
Whether the success sound should be played
OptionalpageChange: booleanProtectedsetChanges the style of the mouse cursor.
cursor style to apply
setScrollCursor(scrollCursor: number) : boolean scrollCursor refers to the page's position within the entire sum of the data, unlike cursor, which refers to a user's position within displayed data
takes a value that has been updated based on user behavior
returns a boolean that indicates whether the updated scrollCursor led to an update in the data displayed.
ProtectedshowOptional_name: stringOptionaldelay: null | numberOptionalcallback: null | FunctionOptionalcallbackDelay: null | numberOptionalprompt: null | booleanOptionalpromptDelay: null | numberOptionalcallback: null | FunctionOptionalcallbackDelay: null | numberOptionaldelay: null | numberOptionalcallback: null | FunctionOptionalcallbackDelay: null | numberOptionalprompt: null | booleanOptionalpromptDelay: null | numberProtectedshowUpdate the achievement icons displayed on the UI based on the current scroll cursor.
PrivateupdateUpdates the icons displayed on the UI based on the current page and scroll cursor.
The items to display (achievements or vouchers).
The unlocks data for the items.
The text for the header.
The text for the action button.
The total number of items.
True when updating icons for the achievements page, false for the vouchers page.
Update the voucher icons displayed on the UI based on the current scroll cursor.
A basic abstract class to act as a holder and processor for UI elements.