1
System / How to declare sf::Thread
« on: December 26, 2012, 12:33:59 pm »
I can't get rid of the following thing... When I try to make a member for my class like this:
I can't declare it like this somewhere else:
At the window class, for example, there is a member create() to initalize it. So why it isn't here? I am proberly doing something stupid...
sf::Thread ListenThread;
I can't declare it like this somewhere else:
sf::Thread ListenThread(&CMultiplayer::Listen, &Multiplayer);
At the window class, for example, there is a member create() to initalize it. So why it isn't here? I am proberly doing something stupid...