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

Method movement_heat

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

The movement heat. InappropriateUnitType - the unit is not a robot.

(&self)

Source from the content-addressed store, hash-verified

443 ///
444 /// * InappropriateUnitType - the unit is not a robot.
445 pub fn movement_heat(&self) -> Result<u32, GameError> {
446 self.ok_if_robot()?;
447 Ok(self.movement_heat)
448 }
449
450 /// The attack heat.
451 ///

Callers 2

ok_if_move_readyMethod · 0.80
print_game_ansiMethod · 0.80

Calls 1

ok_if_robotMethod · 0.80

Tested by

no test coverage detected