Example #1
0
 public void removeObjectsToMove(GameEntity[] gameObjs)
 {
     foreach (GameObject obj in gameObjs)
     {
         physicsQueue -= obj.move;
     }
 }
Example #2
0
 public void addObjectToMove(GameEntity gameObj)
 {
     physicsQueue += gameObj.move;
 }
Example #3
0
 public void removeObjectToMove(GameEntity gameObj)
 {
     physicsQueue -= gameObj.move;
 }
Example #4
0
 public PhysicsEngine(int inverseFPMS) : base(inverseFPMS)
 {
     physicsQueue = new PhysicsQueue((timeStep) => { });
     FPMS         = 1 / (float)inverseFPMS;
 }