Thanks for the response. I have never failed to get a good answer about any topic even remotely related to C++ here. In response to your response:
RenderWindow app(blah blah blah); Creates a window named app. I think it is an object of a seperate class. I want to be able to reuse the Object class. Wouldn't doing it your way be like saying:
class first
{
void say(string Blah)
{
//Blah
}
};
class second
{
void draw(Sprite& Sprite)
{
thefirst.Draw(ItsSprite);
}
};
int main()
{
first thefirst;
return 0;
}
Like I said, pure speculation on my part. But since you have a sf::Sprite member sprite in the Object class, I think you're going to have hard time keeping it decoupled from the gui interface.