Hey all. This is something I was questioned about and didn't really pay it mind until now.
Basically, if I want to copy an sf::Sprite, I've been doing things like this...
GameObjs.push_back(new GameStageWindow(GFX_GameStageWindow, GFX_GameStageWindowText)); //There's 2 sf::Sprites already declared and this function takes and passes these sprite to a ctor for GameStageWindow"
//The ctor looks like this:
GameStageWindow::GameStageWindow(sf::Sprite passedSprite, sf::Sprite passedSprite2)
{ windowSprite = passedSprite;
windowBorderTopSprite = passedSprite;
windowBorderBotSprite = passedSprite;
windowTextSprite = passedSprite2;
//etc...
Basically what I'm wondering is if what I'm doing is bad. Objects will need their own sf::sprite instances, but I just am not sure if this implementation is a good idea. Thanks.