예제 #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
파일: Racer.cs 프로젝트: Jamedjo/BeatShift
 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();
 }