Added Sprite Coloring and Value Animations

This commit is contained in:
Aslan2142 2019-09-06 11:45:24 +02:00
parent e0e5298c81
commit 0cc5c0badf
11 changed files with 175 additions and 11 deletions

View file

@ -25,6 +25,20 @@ namespace asloengine
}
void SpriteObject::set_color(sf::Color& _color)
{
sprite.setColor(_color);
}
sf::Color SpriteObject::get_color() const
{
return sprite.getColor();
}
void SpriteObject::draw()
{