mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
Tidying up.
This commit is contained in:
parent
917c7491cd
commit
1e9d0b2438
3 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||||
|
|
|
@ -998,7 +998,6 @@ Phaser.BitmapData.prototype = {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.context.fillRect(x, y, width, height);
|
this.context.fillRect(x, y, width, height);
|
||||||
this.context.fill();
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue