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

Method isNeutral

bwapi/BWAPI/Source/BWAPI/PlayerImpl.cpp:84–87  ·  view source on GitHub ↗

--------------------------------------------- IS NEUTRAL -------------------------------------------------

Source from the content-addressed store, hash-verified

82 }
83 //--------------------------------------------- IS NEUTRAL -------------------------------------------------
84 bool PlayerImpl::isNeutral() const
85 {
86 return index == 11;
87 }
88 //--------------------------------------------- GET START POSITION -----------------------------------------
89 TilePosition PlayerImpl::getStartLocation() const
90 {

Callers 8

isAllyMethod · 0.95
isEnemyMethod · 0.95
updateDataMethod · 0.95
canAccessMethod · 0.45
canAccessDetectedMethod · 0.45
onMatchStartMethod · 0.45
updateInternalDataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected