I'm on my phone to type this, but I wanted to see if there was a solution to my problem. I won't be going into too much depth unless really absoluty needed. Anyway I'll hop into the issue.
It seems when I tell a thread to run from a class method, it won't work.
void player::blah()
{
sf::Thread thread(&rawr, sf::Vector2f(6, 5));
thread.launch();
}
void player::rawr(sf::Vector2f dir)
{
//rawr stuff
}
P.S. I have read the thread documentation. It hasn't helped.