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

Method is_heal_ready

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

Whether the healer is ready to heal. Tests whether the healer's attack heat is sufficiently low.

(&self, healer_id: UnitID)

Source from the content-addressed store, hash-verified

1678 /// Whether the healer is ready to heal. Tests whether the healer's attack
1679 /// heat is sufficiently low.
1680 pub fn is_heal_ready(&self, healer_id: UnitID) -> bool {
1681 self.ok_if_heal_ready(healer_id).is_ok()
1682 }
1683
1684 /// Commands the healer to heal the target robot.
1685 ///

Callers

nothing calls this directly

Calls 1

ok_if_heal_readyMethod · 0.80

Tested by

no test coverage detected