Hi I have
sf::RenderWindow App(sf::VideoMode(800, 600, 32), "SFML Graphics");
I have several objects on screen. I currently have all the objects displayed by
using App.Draw from main().
I want to make it so that the objects display under certain circumstances ie a collision between two causes them to disappear. So I figure I should transfer whether an object uses App.Draw from main to the object itself,controlled by an (if) statement. When I try to do something like
Object.objectwork(App);
I get errors. How would I accomplish what I want?