public static void disconnectDrone(int id) { Drone drone = getDrone(id); drone.setConnected(false); drone.land(); }
public static void removeDrone(Drone drone) { drone.stop(); drone.land(); drones.Remove(drone); }