BattleSpecification SentryBorderSize Property Robocode Control 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 border sentry robots cannot leave (they must stay in the border area), but it also define the distance from the border edges where border sentry robots are allowed/able to make damage to robots entering this border area.

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

public int SentryBorderSize { get; }

Property Value

Type: OnlineInt32
See Also