Fixes issues reported in #389

This commit is contained in:
photonstorm
2014-02-10 01:49:58 +00:00
parent d44775c095
commit 0294a4735d
3 changed files with 11 additions and 9 deletions
+2 -2
View File
@@ -1034,7 +1034,7 @@ Phaser.BitmapData.prototype.lf = Phaser.BitmapData.prototype.beginLinearGradient
* Shortcut to beginRadialGradientFill.
* @method Phaser.BitmapData.prototype.rf
*/
Phaser.BitmapData.prototype.rf = Phaser.BitmapData.prototype.beginRadialGradientFill;
// Phaser.BitmapData.prototype.rf = Phaser.BitmapData.prototype.beginRadialGradientFill;
/**
* Shortcut to beginBitmapFill.
@@ -1046,7 +1046,7 @@ Phaser.BitmapData.prototype.rf = Phaser.BitmapData.prototype.beginRadialGradient
* Shortcut to endFill.
* @method Phaser.BitmapData.prototype.ef
*/
Phaser.BitmapData.prototype.ef = Phaser.BitmapData.prototype.endFill;
// Phaser.BitmapData.prototype.ef = Phaser.BitmapData.prototype.endFill;
/**
* Shortcut to setStrokeStyle.
+6 -6
View File
@@ -120,16 +120,16 @@ Phaser.Tile = function (layer, index, x, y, width, height) {
this.collideDown = false;
/**
* @property {function} callback - Tile collision callback.
* @property {function} collisionCallback - Tile collision callback.
* @default
*/
this.callback = null;
this.collisionCallback = null;
/**
* @property {object} callbackContext - The context in which the collision callback will be called.
* @property {object} collisionCallbackContext - The context in which the collision callback will be called.
* @default
*/
this.callbackContext = this;
this.collisionCallbackContext = this;
};
@@ -141,12 +141,12 @@ Phaser.Tile.prototype = {
*
* @method Phaser.Tile#setCollisionCallback
* @param {function} callback - Callback function.
* @param {object} context - Callback will be called with this context.
* @param {object} context - Callback will be called within this context.
*/
setCollisionCallback: function (callback, context) {
this.collisionCallbackContext = context;
this.collisionCallback = callback;
this.collisionCallbackContext = context;
},