Called when transiting to this stage or when pushing on the stack. Tempory stages are entered only once.
Called to prepare the stage for playing. Call super.init() when overriding.
Called when transiting away from this stage or when poping from the stack When called on a tempory stage, it means that this stage will be lost and garbage collected.
Called when temporarily leaving this stage by pushing another stage.
Called on each frame to draw the stage.
Called when comming back to this stage after poping another stage
Called on each frame to update the game.
Generated using TypeDoc
A single stage of the game. Use this with StagedGame.