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

Method getColor

bwapi/Shared/PlayerShared.cpp:155–158  ·  view source on GitHub ↗

-------------------------------------------------- COLOUR ------------------------------------------------

Source from the content-addressed store, hash-verified

153 }
154 //-------------------------------------------------- COLOUR ------------------------------------------------
155 BWAPI::Color PlayerImpl::getColor() const
156 {
157 return BWAPI::Color(self->color);
158 }
159 //------------------------------------------------- OBSERVER -----------------------------------------------
160 bool PlayerImpl::isObserver() const
161 {

Callers 1

getTextColorMethod · 0.80

Calls 1

ColorClass · 0.50

Tested by

no test coverage detected