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

Method be_built

battlecode-engine/src/unit.rs:932–936  ·  view source on GitHub ↗

Updates this structure as though a worker has just built it.

(&mut self, build_health: u32)

Source from the content-addressed store, hash-verified

930
931 /// Updates this structure as though a worker has just built it.
932 pub(crate) fn be_built(&mut self, build_health: u32) {
933 if self.be_healed(build_health) {
934 self.is_built = true;
935 }
936 }
937
938 /// Ok if the structure has been built.
939 ///

Callers 11

buildMethod · 0.80
test_sensing_with_filterFunction · 0.80
test_rocket_successFunction · 0.80
test_rocket_failureFunction · 0.80
test_rocket_loadFunction · 0.80
test_rocket_unloadFunction · 0.80
test_factory_productionFunction · 0.80
test_repairFunction · 0.80

Calls 1

be_healedMethod · 0.80

Tested by 10

test_sensing_with_filterFunction · 0.64
test_rocket_successFunction · 0.64
test_rocket_failureFunction · 0.64
test_rocket_loadFunction · 0.64
test_rocket_unloadFunction · 0.64
test_factory_productionFunction · 0.64
test_repairFunction · 0.64