1

Closed

Add is IsDeleted to Sprites so they can delete themselves from SpriteMananger

description

Add is IsDeleted to Sprites so they can delete themselves from SpriteMananger. Shouldn't be called IsDead as that may/will be more suitable for a CharacterSprite.
The main issue here is that spriteManager should be able to carry on iterating through sprites once one has been deleted.
Closed Apr 12, 2008 at 8:28 PM by YourFurryFiend

comments

YourFurryFiend wrote Apr 12, 2008 at 8:28 PM

Added Deleted property to Sprite. Changed SpriteManager to use this in Update and also in the Remove functions.

wrote Apr 12, 2008 at 8:28 PM

wrote Feb 12, 2013 at 9:17 PM

wrote May 14, 2013 at 4:15 AM