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

Method my_research

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

Returns research info of the current player.

(&self)

Source from the content-addressed store, hash-verified

1153
1154 /// Returns research info of the current player.
1155 fn my_research(&self) -> ResearchInfo {
1156 self.my_team().research.clone()
1157 }
1158
1159 /// Returns mutable research info of the current player.
1160 fn my_research_mut(&mut self) -> &mut ResearchInfo {

Callers 2

research_infoMethod · 0.80
ok_if_can_blueprintMethod · 0.80

Calls 2

cloneMethod · 0.80
my_teamMethod · 0.80

Tested by

no test coverage detected