Now can do a SLIDE motion that is a linear move to an x/y.
This commit is contained in:
parent
f1f4cbc80f
commit
222c66a1f2
6 changed files with 58 additions and 48 deletions
|
|
@ -142,6 +142,7 @@ namespace components {
|
|||
|
||||
bool apply(sf::Sprite& target, sf::Vector2f pos);
|
||||
bool apply(sf::View& view_out, sf::Vector2f pos, sf::Vector2f size);
|
||||
void lerp(sf::Vector2f& scale_out, sf::Vector2f& pos_out);
|
||||
|
||||
void play();
|
||||
float twitching();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue