forked from jaildesigner-jailgames/jaildoctors_dilemma
Transició a surface: ending.cpp fet
This commit is contained in:
@@ -23,6 +23,11 @@ void SSprite::render()
|
||||
surface_->render(pos_.x, pos_.y, &clip_);
|
||||
}
|
||||
|
||||
void SSprite::render(Uint8 source_color, Uint8 target_color)
|
||||
{
|
||||
surface_->renderWithColorReplace(pos_.x, pos_.y, source_color, target_color, &clip_);
|
||||
}
|
||||
|
||||
// Establece la posición del objeto
|
||||
void SSprite::setPosition(int x, int y)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user