Which bosses can say in detail the way of thinking, how to implement? Or give a code, thank you very much
CodePudding user response:
Vehicles, radar, the control class, vehicle movement to inform control class, I moved, location in XXXX, and then whatever. Then the control notification radar, something moved, see if you are interested in him, bala bala, control class can have multiple vehicles and radarCodePudding user response:
Control the class function can be decomposed, such as the next to a car moving notice speed class, the movement of the mobile car only need to take their own said, regardless of other logic, the speed, is another found that the speed is not the car, but decided by the rules of the road