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