RobotState EnumerationRobocode Control API for .NET
Defines a robot state, which can be: active on the battlefield, hitting a wall or robot this turn, or dead.

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

public enum RobotState
Members

  Member nameValueDescription
Active0 The robot is active on the battlefield and has not hit the wall or a robot at this turn.
HitWall1 The robot has hit a wall, i.e. one of the four borders, at this turn. This state only last one turn.
HitRobot2 The robot has hit another robot at this turn. This state only last one turn.
Dead3 The robot is dead.
See Also