SFML community forums

General => SFML projects => Topic started by: Flaze07 on May 17, 2018, 03:26:36 pm

Title: Drawable group class
Post by: Flaze07 on May 17, 2018, 03:26:36 pm
I made a class that can store classes that is derived from drawables...I made two :
this one just makes it easier to draw multiple objects, it has a function that can make it so it won't draw one of them, or you can just make the group invisible, it is named ObserveGroup


the second one has complete ownership over the objects, just like the ObserveGroup, this one can make one of the objects invisible, or itself invisible :