IBasicRobotPeer GetTime Method Robocode Robot API for .NET
Returns the game time of the current round, where the time is equal to the current turn in the round.

A battle consists of multiple rounds.

Time is reset to 0 at the beginning of every round.

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

long GetTime()

Return Value

Type: OnlineInt64
See Also