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

Method green

bwapi/BWAPILIB/Source/Color.cpp:124–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 return this->isValid() ? defaultPalette[this->getID()].rgbRed : 0;
123 }
124 int Color::green() const
125 {
126 return this->isValid() ? defaultPalette[this->getID()].rgbGreen : 0;
127 }
128 int Color::blue() const
129 {
130 return this->isValid() ? defaultPalette[this->getID()].rgbBlue : 0;

Callers 1

writeColorInfoFunction · 0.80

Calls 2

isValidMethod · 0.45
getIDMethod · 0.45

Tested by

no test coverage detected