Ejemplo n.º 1
0
 public CameraWrapper(Racer racer)
 {
     stage = CameraStage.ShipSelect;
     this.racer = racer;
     properties = new SharedCameraProperties(Viewports.fullViewport);
     revolveCamera = new RevolveCamera(ref properties);
     currentCamera = revolveCamera;
     #if WINDOWS
     mouseCamera = new MouseCamera(ref properties, getShipPosition, getShipOrientation);
     #endif
 }
Ejemplo n.º 2
0
        public CameraWrapper(Racer racer)
        {
            stage         = CameraStage.ShipSelect;
            this.racer    = racer;
            properties    = new SharedCameraProperties(Viewports.fullViewport);
            revolveCamera = new RevolveCamera(ref properties);
            currentCamera = revolveCamera;
#if WINDOWS
            mouseCamera = new MouseCamera(ref properties, getShipPosition, getShipOrientation);
#endif
        }