Is there any way to run a simple check on weather an image has been initialized/exists? I have a static image member as a class to share among all instances, and I want to only call image.create (or image.load) on the creation of the first object (obviously). There doesn't seem to be a method that would do what I want, and just trying "if(image)" and "if(!image == NULL)" don't work (two things I thought might)
I'm currently jury-rigging it with this, but it feels inelegant.
if(BrickImage.GetHeight() < 5){
BrickImage.Create(15, 80, sf::Color(100, 255, 255));
}