Private
achvsPrivate
achvsProtected
awaitingPrivate
Readonly
COLSPrivate
currentPrivate
currentProtected
cursorPrivate
cursorPrivate
headerPrivate
headerPrivate
headerPrivate
headerPrivate
headerPrivate
iconsPrivate
iconsPrivate
iconsPrivate
mainProtected
modeProtected
onPrivate
Readonly
ROWSPrivate
scorePrivate
scorePrivate
scrollPrivate
scrollProtected
textProtected
textPrivate
titlePrivate
titlePrivate
unlockPrivate
vouchersPrivate
vouchersTo 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
Private
processSubmethod of processInput
that handles the action button input
Whether the success sound should be played
Private
processSubmethod 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
Private
processSubmethod of processInput
that handles the left button input
Whether the success sound should be played
Private
processSubmethod of processInput
that handles the right button input
Whether the success sound should be played
Private
processSubmethod of processInput
that handles the up button input
Whether the success sound should be played
Optional
pageChange: booleanProtected
setChanges 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.
Protected
showOptional
_name: stringOptional
delay: null | numberOptional
callback: null | FunctionOptional
callbackDelay: null | numberOptional
prompt: null | booleanOptional
promptDelay: null | numberOptional
callback: null | FunctionOptional
callbackDelay: null | numberOptional
delay: null | numberOptional
callback: null | FunctionOptional
callbackDelay: null | numberOptional
prompt: null | booleanOptional
promptDelay: null | numberProtected
showUpdate the achievement icons displayed on the UI based on the current scroll cursor.
Private
updateUpdates 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.