JuniorRobot ScannedEnergy Property Robocode Robot API for .NET
Current energy of scanned nearest other robot. If there is no robot in the radar's sight, this field will be less than 0, i.e -1. This field will not be updated while OnScannedRobot  event is active.

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

public int ScannedEnergy { get; }

Property Value

Type: OnlineInt32
See Also