Fade: el color passa a estar en param.h
This commit is contained in:
@@ -332,6 +332,14 @@ void Fade::setColor(Uint8 r, Uint8 g, Uint8 b)
|
||||
b_ = b;
|
||||
}
|
||||
|
||||
// Establece el color del fade
|
||||
void Fade::setColor(Color color)
|
||||
{
|
||||
r_ = color.r;
|
||||
g_ = color.g;
|
||||
b_ = color.b;
|
||||
}
|
||||
|
||||
// Limpia el backbuffer
|
||||
void Fade::cleanBackbuffer(Uint8 r, Uint8 g, Uint8 b, Uint8 a)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user