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

Method my_team

battlecode-engine/src/world.rs:721–728  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

719 }
720
721 fn my_team(&self) -> &TeamInfo {
722 let team = self.team();
723 if let Some(team_info) = self.team_states.get(&team) {
724 team_info
725 } else {
726 unreachable!();
727 }
728 }
729
730 fn my_team_mut(&mut self) -> &mut TeamInfo {
731 let team = self.team();

Callers 12

karboniteMethod · 0.80
unit_refMethod · 0.80
unit_mutMethod · 0.80
unitMethod · 0.80
units_in_spaceMethod · 0.80
get_team_arrayMethod · 0.80
my_unitMethod · 0.80
my_unit_mutMethod · 0.80
my_researchMethod · 0.80
rocket_landingsMethod · 0.80
end_turnMethod · 0.80

Calls 1

teamMethod · 0.45

Tested by

no test coverage detected