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

Method other

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

The other team.

(&self)

Source from the content-addressed store, hash-verified

32impl Team {
33 /// The other team.
34 pub fn other(&self) -> Team {
35 match *self {
36 Team::Red => Team::Blue,
37 Team::Blue => Team::Red,
38 }
39 }
40}
41
42/// The state for one of the planets in a game.

Callers 5

filterMethod · 0.45
end_turnMethod · 0.45
start_turnMethod · 0.45
apply_turnMethod · 0.45
parse_text_mapFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected