public void Update(double dt) { SBG.Update(dt); PM.CheckCollisions(); foreach (var collision in PM.Collisions) { CRM.ResolveCollision(collision); } AS.Update(dt); Scene.Update(dt); }
public void Update(double dt) { SBG.Update(dt); PM.CheckCollisions(); Console.WriteLine(PM.BoxComponents.Count); foreach (var collision in PM.Collisions) { CRM.ResolveCollision(collision); } AS.Update(dt); Scene.Update(dt); }