I've tried many different scenarios, but I can't seem to figure out. Here's a basic example if what I'd like to do:
class Test
{
private:
ThreadHandle();
//
public:
Test();
void setup();
//
};
void Test::setup()
{
sf::Thread TestThread(&ThreadHandle);
TestThread.Launch();
}
I've also tried setting up the "TestThread" object in the header file, but it alerts me that "ThreadHandle" is not a data type.
Thanks for any help!