Protected
awaitingProtected
cursorPrivate
cursorPrivate
defaultPrivate
Optional
eggThe tween chain playing the egg drop animation sequence
Private
eggPrivate
eggPrivate
eggPrivate
eggPrivate
eggPrivate
eggPrivate
gachaPrivate
gachaPrivate
gachaPrivate
gachaPrivate
gachaPrivate
legendaryProtected
modeProtected
onPrivate
playPrivate
scalePrivate
summaryProtected
textProtected
textPrivate
transitionPrivate
transitioningPrivate
voucherTo be implemented by individual handlers when necessary to free memory Called when BattleScene is reset
Private
doPrivate
firstPrivate
getGet the guaranteed egg tier based on the pull count
The number of pulls made
The guaranteed egg tier for the given pull count
Private
handleProcess an action input received during voucher selection.
The index of the voucher menu option
True if the success sound should be played, false if the error sound should be played, or undefined if the cursor is out of range.
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
processProcess an input received in the normal mode of the egg gacha UI (not transitoning, not summary)
The button that was pressed
true
if the success sound should be played, false
if the error sound should be played, or undefined
no input event occurred.
Private
processHandles an input event that occurs while the egg gacha summary is visible
The button that was pressed
true
if an input event occurred and the select sound should be played, otherwise undefined
Private
processProcess an input received while the egg gacha UI is transitioning
The button that was pressed
true
if the success sound should be played, otherwise undefined
Handle pulling eggs from the gacha machine; plays the animations, adds the eggs, and saves game data
The number of eggs to pull
Private
pullPulls the specified number of eggs and returns them
The number of eggs to pull
An array of the pulled eggs
Protected
setChanges the style of the mouse cursor.
cursor style to apply
Private
setupOptional
_name: stringOptional
delay: null | numberOptional
callback: null | FunctionOptional
callbackDelay: null | numberOptional
prompt: null | booleanOptional
promptDelay: null | numberOptional
callback: null | FunctionOptional
callbackDelay: null | numberPrivate
updateUpdate the legendary gacha icon based on the current timestamp.
Private
Static
cursorConvert a cursor index to a voucher type and count
The cursor index corresponding to the voucher type
The voucher type, vouchers used, and pulls given, or an empty array if the cursor is not on a voucher
A basic abstract class to act as a holder and processor for UI elements.