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: 1.9.2.0
Syntax

public int ScannedEnergy { get; }

Property Value

Type: OnlineInt32
See Also