1
General / Destroy all objects in the render window.
« on: March 21, 2016, 04:29:31 pm »
Hello everyone,
I'm working on a very small project on SFML, where I spawn square shapes in the render window using left mouse button. However, I have been trying for days to find a way to assign the R button for basically erase or destroy every object on the render window and start again. basically a restart button , without being forced to close the render window.
I appreciate your help:).
I'm working on a very small project on SFML, where I spawn square shapes in the render window using left mouse button. However, I have been trying for days to find a way to assign the R button for basically erase or destroy every object on the render window and start again. basically a restart button , without being forced to close the render window.
I appreciate your help:).