Protected
awaitingProtected
cursorProtected
modeProtected
onProtected
textProtected
textTo 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
Helper function that resets the given session slot to its default central position
Helper function that checks if the session slot involved holds data or not
true
if session slot contains data | 'false' if not
Move the cursor to a new position and update the view accordingly
the new cursor position, between 0
and SLOTS_ON_SCREEN - 1
Optional
prevSlotIndex: numberindex of the previous session occupied by the cursor, between 0
and SESSION_SLOTS_COUNT - 1
- optional
true
if the cursor position has changed | false
if it has not
Protected
setChanges the style of the mouse cursor.
cursor style to apply
Move the scrolling cursor to a new position and update the view accordingly
the new cursor position, between 0
and SESSION_SLOTS_COUNT - SLOTS_ON_SCREEN
Optional
prevSlotIndex: numberindex of the previous slot occupied by the cursor, between 0
and SESSION_SLOTS_COUNT-1
- optional
true
if the cursor position has changed | false
if it has not
Optional
_name: stringOptional
delay: null | numberOptional
callback: null | FunctionOptional
callbackDelay: null | numberOptional
prompt: null | booleanOptional
promptDelay: null | numberOptional
callback: null | FunctionOptional
callbackDelay: null | number
A basic abstract class to act as a holder and processor for UI elements.