Tidying up.

This commit is contained in:
photonstorm 2014-05-30 05:33:30 +01:00
parent 917c7491cd
commit 1e9d0b2438
3 changed files with 3 additions and 1 deletions

View file

@ -267,6 +267,8 @@ Phaser.Game = function (width, height, renderer, parent, state, transparent, ant
} }
else else
{ {
this.config = {};
if (typeof width !== 'undefined') if (typeof width !== 'undefined')
{ {
this.width = width; this.width = width;

View file

@ -998,7 +998,6 @@ Phaser.BitmapData.prototype = {
} }
this.context.fillRect(x, y, width, height); this.context.fillRect(x, y, width, height);
this.context.fill();
}, },

View file

@ -673,6 +673,7 @@ Phaser.Color = {
/** /**
* Interpolates the two given colours based on the supplied step and currentStep properties. * Interpolates the two given colours based on the supplied step and currentStep properties.
*
* @method Phaser.Color.interpolateColorWithRGB * @method Phaser.Color.interpolateColorWithRGB
* @static * @static
* @param {number} color - The first color value. * @param {number} color - The first color value.