Robot ScanColor Property Robocode Robot API for .NET
Sets the color of the robot's scan arc.

A null indicates the default (blue) color.

Examples

// Don't forget to using System.Drawing at the top... 
using System.Drawing;
...

public void Run()
{
    SetScanColor(Color.White);
    ...
}

Namespace: Robocode
Assembly: robocode (in robocode.dll) Version: 1.9.2.0
Syntax

public Color ScanColor { get; set; }

Property Value

Type: OnlineColor
See Also