Added Sprite Coloring and Value Animations
This commit is contained in:
parent
e0e5298c81
commit
0cc5c0badf
11 changed files with 175 additions and 11 deletions
|
|
@ -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()
|
||||
{
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue