robocode.control.snapshot
Interface ITurnSnapshot
public interface ITurnSnapshot
Interface of a turn snapshot.
- Pavel Savara (original)
- Flemming N. Larsen (contributor)
getBullets
public IBulletSnapshot[] getBullets()
Returns all bullets currently the battlefield.
- a list containing all bullets currently the battlefield.
getIndexedTeamScores
public IScoreSnapshot[] getIndexedTeamScores()
- scores grouped by teams, in stable order
getRobots
public IRobotSnapshot[] getRobots()
Returns all robots participating in the battle.
- a list containing all robots participating in the battle.
getRound
public int getRound()
Returns the current turn.
getSortedTeamScores
public IScoreSnapshot[] getSortedTeamScores()
- scores grouped by teams, ordered by position
getTPS
public int getTPS()
Returns the current TPS (turns per second).
- the current TPS (turns per second).
getTurn
public int getTurn()
Returns the current turn.