feat: EngineTime Parameter for GameManager.Update

This commit is contained in:
Syntriax 2024-01-23 12:06:21 +03:00
parent 0ce6f8ab23
commit 39e553ebbf
1 changed files with 2 additions and 1 deletions

View File

@ -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();
} }