BattleRules SentryBorderSize Property Robocode Robot API for .NET
Returns the sentry border size for a BorderSentry that defines the how far a BorderSentry is allowed to move from the border edges measured in units.
Hence, the sentry border size defines the width/range of the border area surrounding the battlefield that BorderSentrys cannot leave (sentry robots robots must stay in the border area), but it also define the distance from the border edges where BorderSentrys are allowed/able to make damage to robots entering this border area.

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

public int SentryBorderSize { get; }

Property Value

Type: OnlineInt32
See Also