def blind(self, packet: GameTickPacket, drone: Drone, elapsed: float): drone.ctrl = self.controls return StepResult(finished=False)
def blind(self, packet: GameTickPacket, drone: Drone, elapsed: float): # Make a defensive copy so that we don't end up having all the drones share # The same controls object. drone.ctrl = copy.deepcopy(self.controls) return StepResult(finished=False)