private void presentRovStateOnPilotView(RovState state) { pilotViewHandler.SetHeading(state.Heading); pilotViewHandler.SetFrontCameraAngle(state.FrontCameraTilt); pilotViewHandler.SetRearCameraAngle(state.RearCameraTilt); pilotViewHandler.SetAltitude(state.DistanceToBottom); }
private void presentRovStateOnCoPilotView(RovState state) { copilotViewhandler.SetHeading(state.Heading); copilotViewhandler.SetFrontCameraAngle(state.FrontCameraTilt); copilotViewhandler.SetRearCameraAngle(state.RearCameraTilt); copilotViewhandler.SetDistanceToBottom(state.DistanceToBottom); copilotViewhandler.SomethingIsWrong(state.Error); }
private void handleStateChanged(RovState state) { presentRovStateOnPilotView(state); presentRovStateOnCoPilotView(state); }