Private
canPrivate
eggThe egg that is hatching
Private
eggThe phaser container that holds the egg
Private
eggThe container that lists how many eggs are hatching
Private
eggThe phaser sprite of the cracks in an egg
Private
eggThe phaser image that is the background
Private
eggThe phaser gameobject container that holds everything
Private
eggThe scene handler for egg hatching
Private
eggThe phaser rectangle that overlays during the scene
Private
eggThe phaser sprite that represents the overlaid light rays
Private
eggThe index of which egg move is unlocked. 0-2 is common, 3 is rare
Private
eggThe phaser sprite of the egg
Private
eggsThe number of eggs that are hatching
Private
evolutionThe sound effect being played when the egg is hatched
Private
hatchedInternal booleans representing if the egg is hatched, able to be skipped, or skipped
Private
infoThe PokemonInfoContainer of the newly hatched Pokemon
Private
pokemonThe newly hatched PlayerPokemon
Private
pokemonThe phaser sprite for shiny sparkles
Private
pokemonThe phaser sprite of the hatched Pokemon
Protected
scenePrivate
skippedFunction that animates egg shaking
of horizontal shaking. Doubled on the first call (where count is 0)
Optional
repeatCount: numberthe number of times this function should be called (asynchronous recursion?!?)
Optional
count: numberthe current number of times this function has been called.
nothing since it's a Promise
Generates a Pokemon to be hatched by the egg
the hatched PlayerPokemon
Class that represents egg hatching