SFML community forums
Help => Graphics => Topic started by: zac on May 06, 2008, 06:46:34 pm
-
Why on earth have these functions been deleted?
In one situation, I really need those functions, otherwise I had to save the values globally, and this would be far more work.
I would even prefer a "GetRect()" as it exists for sf::String...
-
They have been replaced by sf::Sprite::GetSize()
sf::Sprite::GetWidth() --> sf::Sprite::GetSize().x
sf::Sprite::GetHeight() --> sf::Sprite::GetSize().y