1
Graphics / Re: How to rotate sprite, keeping the original position?
« on: June 27, 2014, 12:17:25 am »
I want that it changed an angle on center.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Well, pardon me, but why would you want to do such a thing?To modify the base class.
Thanks, now I understand.The thread is still active, you have to manually call thread->terminate().No, you should not call terminate() in normal situations. sf::Thread::~Thread() invokes wait(), therefore it waits until the thread is finished. Just let your thread end regularly.
Concerning sf::TcpSocket, the base class destructor ~Socket() invokes close().
What is the "processing status"?Whether running launch()?
...You do not understand me. I was referring to the cast to the parent class.
I guess the question is: Will getLocalBounds and getGlobalBounds get moved to the parent class? Right?yep.
If so then the answer is no.This is problematic in my situation.
The two functions exist only for convenience and not all of the transformable would need those functions. Besides that it's very easy to add such functionality to a derived class, if you need them.