MCPcopy Index your code
hub / github.com/battlecode/battlecode-2018 / round

Method round

battlecode-engine/src/world.rs:401–403  ·  view source on GitHub ↗

The current round, starting at round 1 and up to `ROUND_LIMIT` rounds. A round consists of a turn from each team on each planet.

(&self)

Source from the content-addressed store, hash-verified

399 /// The current round, starting at round 1 and up to `ROUND_LIMIT` rounds.
400 /// A round consists of a turn from each team on each planet.
401 pub fn round(&self) -> Rounds {
402 self.round
403 }
404
405 /// The current planet.
406 pub fn planet(&self) -> Planet {

Callers 5

run.pyFile · 0.45
run.pyFile · 0.45
state_reportMethod · 0.45
end_turnMethod · 0.45
is_game_overMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected