Phaser.TextureSource = function (texture, source){ this.texture = texture; this.image = source; this.resolution = 1; this.width = source.naturalWidth || source.width || 0; this.height = source.naturalHeight || source.height || 0; this.scaleMode = Phaser.scaleModes.DEFAULT; this.premultipliedAlpha = true ; this.mipmap = false ; this.textureIndex = 0; this.renderable = false ; this.isPowerOf2 = Phaser.Math.isPowerOfTwo(this.width, this.height); } ;