Added class constructors, fixed Stripshader, added relative Tween example and updated Tween source.

This commit is contained in:
photonstorm
2013-12-30 16:54:00 +00:00
parent fdbdd81b7b
commit ce4cf531d4
59 changed files with 324 additions and 149 deletions
+3 -1
View File
@@ -235,4 +235,6 @@ Phaser.Time.prototype = {
this._started = this.now;
}
};
};
Phaser.Time.prototype.constructor = Phaser.Time;
+4 -2
View File
@@ -43,7 +43,7 @@ Phaser.Timer = function (game) {
// Need to add custom FPS rate, for now we'll just use seconds
}
};
Phaser.Timer.prototype = {
@@ -114,4 +114,6 @@ Phaser.Timer.prototype = {
return (this.game.time.now - this._started) * 0.001;
}
}
};
Phaser.Timer.prototype.constructor = Phaser.Timer;