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

Method is_blink_ready

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

Whether the mage is ready to blink. Tests whether the mage's ability heat is sufficiently low.

(&self, mage_id: UnitID)

Source from the content-addressed store, hash-verified

1624 /// Whether the mage is ready to blink. Tests whether the mage's ability
1625 /// heat is sufficiently low.
1626 pub fn is_blink_ready(&self, mage_id: UnitID) -> bool {
1627 self.ok_if_blink_ready(mage_id).is_ok()
1628 }
1629
1630 /// Blinks the mage to the given location.
1631 ///

Callers

nothing calls this directly

Calls 1

ok_if_blink_readyMethod · 0.80

Tested by

no test coverage detected