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

Method planet

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

The current planet.

(&self)

Source from the content-addressed store, hash-verified

404
405 /// The current planet.
406 pub fn planet(&self) -> Planet {
407 self.player_to_move.planet
408 }
409
410 /// The team whose turn it is.
411 pub fn team(&self) -> Team {

Callers 9

get_team_arrayMethod · 0.45
write_team_arrayMethod · 0.45
my_planetMethod · 0.45
my_planet_mutMethod · 0.45
ok_if_can_begin_snipeMethod · 0.45
end_turnMethod · 0.45
start_turnMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected