SFML community forums
Help => Graphics => Topic started by: Avengedalice on June 19, 2013, 08:00:57 am
-
I'm trying to create a rectangle shape to be used within a class, but I'm only able to create the rectangle shape within one of the private or public members. Is there a way to create the rectangle shape inside the class, so that I am able to use the shape for every class member within that class.
Does it matter where I create the rectangle shape?
-
Please don't post in the C forum if your problem is not related to the C binding of SFML.
And can you describe your problem more clearly, possibly with code? Of course you can choose where to declare your rectangle shape, as long as C++ allows it...
-
Sorry, kinda new to this whole forum thing. thanks.