public interface ITurnSnapshot
Modifier and Type | Method and Description |
---|---|
IBulletSnapshot[] |
getBullets()
Returns a list of snapshots for the bullets that are currently on the battlefield.
|
IScoreSnapshot[] |
getIndexedTeamScores()
Returns an array of indexed scores grouped by teams that can be used to determine the score
for the individual team based on the team index.
|
IRobotSnapshot[] |
getRobots()
Returns a list of snapshots for the robots participating in the battle.
|
int |
getRound()
Returns the current round of the battle.
|
IScoreSnapshot[] |
getSortedTeamScores()
Returns an array of sorted scores grouped by teams, ordered by position.
|
int |
getTPS()
Returns the current TPS (turns per second) rate.
|
int |
getTurn()
Returns the current turn in the battle round.
|
IRobotSnapshot[] getRobots()
IBulletSnapshot[] getBullets()
int getTPS()
int getRound()
int getTurn()
IScoreSnapshot[] getSortedTeamScores()
getIndexedTeamScores()
IScoreSnapshot[] getIndexedTeamScores()
getSortedTeamScores()
Copyright © 2021 Robocode. All Rights Reserved.