Reputation: 7460
The title says it all. I simply want a sprite to disappear in a certain point in the game. For some reason I can't find the answer to that anywhere as simple as it sounds.
Thank you very much.
Upvotes: 1
Views: 1063
Reputation: 44326
Just stop rendering it in the Draw
method.
Perhaps add an if
block around the code for drawing the sprite, and you can choose when to draw it and when not to.
Upvotes: 3