mirror of
https://github.com/wassname/phaser.git
synced 2026-09-12 12:40:47 +08:00
Added class constructors, fixed Stripshader, added relative Tween example and updated Tween source.
This commit is contained in:
+3
-1
@@ -235,4 +235,6 @@ Phaser.Time.prototype = {
|
||||
this._started = this.now;
|
||||
}
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
Phaser.Time.prototype.constructor = Phaser.Time;
|
||||
|
||||
+4
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user