mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
TweenManager.begin is now called.
This commit is contained in:
parent
47d4dc4cf2
commit
b77c34562a
1 changed files with 6 additions and 2 deletions
|
@ -120,8 +120,7 @@ Systems.prototype = {
|
||||||
|
|
||||||
step: function (time, delta)
|
step: function (time, delta)
|
||||||
{
|
{
|
||||||
// Before or after child update?
|
this.tweens.begin(time);
|
||||||
this.tweens.update(time, delta);
|
|
||||||
|
|
||||||
var list = this.children.list;
|
var list = this.children.list;
|
||||||
|
|
||||||
|
@ -130,12 +129,16 @@ Systems.prototype = {
|
||||||
list[i].preUpdate(time, delta);
|
list[i].preUpdate(time, delta);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.tweens.update(time, delta);
|
||||||
|
|
||||||
this.cameras.update(time, delta);
|
this.cameras.update(time, delta);
|
||||||
|
|
||||||
this.state.update.call(this.state, time, delta);
|
this.state.update.call(this.state, time, delta);
|
||||||
},
|
},
|
||||||
|
|
||||||
// Called just once per frame, regardless of speed
|
// Called just once per frame, regardless of speed
|
||||||
|
|
||||||
|
/*
|
||||||
begin: function (timestamp, frameDelta)
|
begin: function (timestamp, frameDelta)
|
||||||
{
|
{
|
||||||
var list = this.children.list;
|
var list = this.children.list;
|
||||||
|
@ -153,6 +156,7 @@ Systems.prototype = {
|
||||||
|
|
||||||
this.state.update.call(this.state, timestep, physicsStep);
|
this.state.update.call(this.state, timestep, physicsStep);
|
||||||
},
|
},
|
||||||
|
*/
|
||||||
|
|
||||||
// Called just once per frame
|
// Called just once per frame
|
||||||
render: function (interpolation, renderer)
|
render: function (interpolation, renderer)
|
||||||
|
|
Loading…
Reference in a new issue