The mode of the UI element. These should be unique.
Protected
cursorProtected
modeTo be implemented by individual handlers when necessary to free memory Called when BattleScene is reset
Set the cursor to the specified position, if able and update the stats display.
The position to set the cursor to.
Whether the cursor successfully moved to a new position
If newCursor
is not between 0
and maxCursorPos, or if it is the same as newCursor
then no updates happen and false
is returned.
Otherwise, updates the up/down arrow visibility and calls updateStats
Protected
setChanges the style of the mouse cursor.
cursor style to apply
A basic abstract class to act as a holder and processor for UI elements.