Phaser.SpriteBatch = function (game, parent, name, addToStage){ PIXI.SpriteBatch.call(this); Phaser.Group.call(this, game, parent, name, addToStage); this.type = Phaser.SPRITEBATCH; } ; Phaser.SpriteBatch.prototype = Phaser.Utils.extend(true , Phaser.SpriteBatch.prototype, Phaser.Group.prototype, PIXI.SpriteBatch.prototype); Phaser.SpriteBatch.prototype.constructor = Phaser.SpriteBatch;