Пример #1
0
 public virtual void insertShipOnMap(RacerType newRacerType)
 {
     racerType   = newRacerType;
     shipPhysics = new ShipPhysics(this);
     shipDrawing.setPositionFunctions(new Func <Matrix>(() => shipPhysics.DrawOrientationMatrix), new Func <Vector3>(() => shipPhysics.ShipPosition));
     setupRacingControls();
 }
Пример #2
0
 public virtual void insertShipOnMap(RacerType newRacerType)
 {
     racerType = newRacerType;
     shipPhysics = new ShipPhysics(this);
     shipDrawing.setPositionFunctions(new Func<Matrix>(() => shipPhysics.DrawOrientationMatrix), new Func<Vector3>(() => shipPhysics.ShipPosition));
     setupRacingControls();
 }