src/AppStates.js
/**
 * In game state, when the player is playing a stage.
 *
 * @returns {InGameState}
 */
In game state, when the player is playing a stage.
In game state when the player is playing a stage .
function InGameState() {
	this.restartDelay = 0;
	this.stageDisplayDelay = 0;
	this.stageNameDisplayAnim = null;
	this.stageDisplayBannerR = null;
	this.stageDisplayBannerC = null;
	this.bannerSound = null;
	this.defeatSound = null;
	this.victorySound = null;
	this.stageNameDisplayXPos = 0;
	this.areaNameText = "";
	this.stageNameText = "";
	this.backReleased = false;
	this.playBannerSound = false;
	this.playInGameTrack = false;
	this.controlImage = null;
	this.canvasImage = null;
	this.canvasDisabledImage = null;
	this.webglImage = null;
	this.controlPressedTint = new Pixel32(0, 0, 0, 128);
	this.dpadImage = null;
	this.dpadStickImage = null;
	this.deadZoneDpad = 20;
	this.dpadRect = null;
	this.dpadRectInner = null;
	this.dpadDistance = 128;
	this.dpadInnerDistance = 10;
	this.interactImage = null;
	BaseState.apply(this, arguments);
}
function InGameState ( ) { this . restartDelay = 0 ; this . stageDisplayDelay = 0 ; this . stageNameDisplayAnim = null ; this . stageDisplayBannerR = null ; this . stageDisplayBannerC = null ; this . bannerSound = null ; this . defeatSound = null ; this . victorySound = null ; this . stageNameDisplayXPos = 0 ; this . areaNameText = "" ; this . stageNameText = "" ; this . backReleased = false ; this . playBannerSound = false ; this . playInGameTrack = false ; this . controlImage = null ; this . canvasImage = null ; this . canvasDisabledImage = null ; this . webglImage = null ; this . controlPressedTint = new Pixel32 ( 0 , 0 , 0 , 128 ) ; this . dpadImage = null ; this . dpadStickImage = null ; this . deadZoneDpad = 20 ; this . dpadRect = null ; this . dpadRectInner = null ; this . dpadDistance = 128 ; this . dpadInnerDistance = 10 ; this . interactImage = null ; BaseState . apply ( this , arguments ) ; }
In game state, when the player is playing a stage.
In game state when the player is playing a stage .