MCPcopy Create free account
hub / github.com/battlecode/battlecode-2018 / is_overcharge_ready

Method is_overcharge_ready

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

Whether the healer is ready to overcharge. Tests whether the healer's ability heat is sufficiently low.

(&self, healer_id: UnitID)

Source from the content-addressed store, hash-verified

1726 /// Whether the healer is ready to overcharge. Tests whether the healer's
1727 /// ability heat is sufficiently low.
1728 pub fn is_overcharge_ready(&self, healer_id: UnitID) -> bool {
1729 self.ok_if_overcharge_ready(healer_id).is_ok()
1730 }
1731
1732 /// Overcharges the robot, resetting the robot's cooldowns. The robot must
1733 /// be on the same team as you.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected