예제 #1
0
 def blind(self, packet: GameTickPacket, drone: Drone, elapsed: float):
     drone.ctrl = self.controls
     return StepResult(finished=False)
예제 #2
0
 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)