if (!this.entityLoaded) { return; } if (!this.initialized) { this.state = this.entityLoaded.state; this.initialized = true; } if (this.state.exploding) { /** * Wait until finished exploding */ return; } this.advanceSnake(data.delta); this.createFood(data.delta); this.createPowerup(data.delta); //@ sourceURL=beforeRender.js