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

Method getIndex

bwapi/BWAPI/Source/BWAPI/PlayerImpl.cpp:29–32  ·  view source on GitHub ↗

--------------------------------------------- GET INDEX --------------------------------------------------

Source from the content-addressed store, hash-verified

27 }
28 //--------------------------------------------- GET INDEX --------------------------------------------------
29 int PlayerImpl::getIndex() const
30 {
31 return index;
32 }
33 //--------------------------------------------- GET NAME ---------------------------------------------------
34 std::string PlayerImpl::getName() const
35 {

Callers 2

isAllyMethod · 0.45
isEnemyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected