static PhysicsManager()
 {
     physicsObjects     = new ProtectedList <PhysicsObject>();
     staticObjects      = new ProtectedList <PhysicsObject>();
     dynamicObjects     = new ProtectedList <PhysicsObject>();
     narrowPhaseObjects = new Dictionary <PhysicsObject, List <PhysicsObject> >();
 }
Exemple #2
0
 static Simulation()
 {
     gameObjects = new ProtectedList <GameObject>();
     clock       = new Engine();
     clock.Tick += Tick;
 }