void Player::setColor(CIwColour& col){ color.Set(col.Get()); colors[0] = colors[1] = colors[2] = colors[3] = color; }
void IGSprite::setColor(uint8 r, uint8 g, uint8 b, uint8 a) { CIwColour c = CIwColour(); c.Set(r, g, b, a); color = c.Get(); }