feat: EngineTime Parameter for GameManager.Update
This commit is contained in:
parent
0ce6f8ab23
commit
39e553ebbf
|
@ -133,8 +133,9 @@ public class GameManager : IEntity
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Update()
|
public void Update(EngineTime time)
|
||||||
{
|
{
|
||||||
|
Time.SetTime(time);
|
||||||
foreach (var gameObject in GameObjects)
|
foreach (var gameObject in GameObjects)
|
||||||
gameObject.BehaviourController.Update();
|
gameObject.BehaviourController.Update();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue