IBasicRobotPeer GetEnergy Method Robocode Robot API for .NET
Returns the robot's current energy.

Namespace: Robocode.RobotInterfaces.Peer
Assembly: robocode (in robocode.dll) Version: 1.9.3.0
Syntax

double GetEnergy()

Return Value

Type: OnlineDouble
See Also