ProtectedawaitingProtectedcursorPrivatecursorProtectedmanageProtectedmodeProtectedonPrivatesavePrivatesavePrivatesavePrivatesavePrivatescrollPrivatesessionPrivatesessionPrivatesessionProtectedtextProtectedtextPrivateuiTo 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
OptionalprevSlotIndex: 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
ProtectedsetChanges 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
OptionalprevSlotIndex: 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: stringOptionaldelay: null | numberOptionalcallback: null | FunctionOptionalcallbackDelay: null | numberOptionalprompt: null | booleanOptionalpromptDelay: null | numberOptionalcallback: null | FunctionOptionalcallbackDelay: null | number
A basic abstract class to act as a holder and processor for UI elements.