Robot BulletColor Property Robocode Robot API for .NET
Sets the color of the robot's bullets.

A null indicates the default white color.

Examples

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

public void Run()
{
    SetBulletColor(Color.Green);
    ...
}

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

public Color BulletColor { get; set; }

Property Value

Type: OnlineColor
See Also