MCPcopy Create free account
hub / github.com/bwapi/bwapi / movementFlag

Method movementFlag

bwapi/BWAPI/Source/BW/CUnit.cpp:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 return BWAPI::UnitType(this->unitType);
15 }
16 bool CUnit::movementFlag(u8 flags) const
17 {
18 return (this->movementFlags & flags) != 0;
19 }
20 bool CUnit::statusFlag(u32 flags) const
21 {
22 return (this->statusFlags & flags) != 0;

Callers 2

updateInternalDataMethod · 0.80
updateDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected