Rescan for other robots. This method is called automatically by the game, as long as the robot is moving, turning its body, turning its gun, or turning its radar. Rescan will cause OnScannedRobot(ScannedRobotEvent) to be called if you see a robot. There are 2 reasons to call Rescan() manually:Namespace: Robocode.RobotInterfaces.Peer
- You want to scan after you stop moving.
- You want to interrupt the OnScannedRobot event. This is more likely. If you are in OnScannedRobot and call Scan(), and you still see a robot, then the system will interrupt your OnScannedRobot event immediately and start it from the top.
Assembly: robocode (in robocode.dll) Version: 126.96.36.199