Robot OnStatus Method Robocode Robot API for .NET
This method is called every turn in a battle round in order to provide the robot status as a complete snapshot of the robot's current state at that specific time.

The main benefit of this method is that you'll automatically receive all current data values of the robot like e.g. the x and y coordinate, heading, gun heat etc., which are grouped into the exact same time/turn.

This is the only way to map the robots data values to a specific time. For example, it is not possible to determine the exact time of the robot's heading by calling first calling Time and then Heading afterwards, as the time might change after between the Time and Heading call.

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

public virtual void OnStatus(
	StatusEvent e


IBasicEvents OnStatus(StatusEvent)
See Also