public CoPilotActionsController(IJoystickStateListener coPilotRightStickListener, ICameraHandler cameraHandler, ICoPilotViewHandler coPilotView) { this.coPilotRightStickListener = coPilotRightStickListener; this.cameraHandler = cameraHandler; this.coPilotView = coPilotView; this.coPilotRightStickListener.JoystickStateChanged += coPilotRightStick_StateChanged; }
public RovStateReceivedHandler(ICommunicationServer comServer, IPilotViewHandler overlayHandler, ICoPilotViewHandler copilotviewhandler) { this.comServer = comServer; this.pilotViewHandler = overlayHandler; this.copilotViewhandler = copilotviewhandler; comServer.RovStateReceived += comServer_RovStateReceived; }