public GraphicsController(Map world, Action updateWorldHandler)
 {
     this.CursorVisible      = false;
     this.gameWorld          = world;
     this.updateWorldHandler = updateWorldHandler;
     this.cameraService      = new CameraService();
     this.textDrawingService = new TextDrawingService();
     this.fpsCounter         = new FpsCounter();
     this.drawingService     = new DrawingService(this.cameraService, this.textDrawingService);
     this.vehicleFinder      = new VehicleFinder();
     TexturesLoader.InitTextures();
 }
Beispiel #2
0
 public DrawingService(CameraService camServ, TextDrawingService textServ)
 {
     this.cameraService = camServ;
     this.textDrawingService = textServ;
 }