protected virtual void ProcessSpriteData() { if (spritesAdded < maxSprites) { if (spriteChip.unique) { if (spriteChip.FindSprite(spriteData) == -1) { spriteChip.UpdateSpriteAt(spritesAdded, spriteData); spritesAdded++; } } else { spriteChip.UpdateSpriteAt(index, spriteData); spritesAdded++; } } }
protected virtual void ProcessSpriteData() { if (spritesAdded < maxSprites) { // TODO need to deprecate this since the sprite file should load up exactly how it is read if (spriteChip.unique) { if (spriteChip.FindSprite(spriteData) == -1) { spriteChip.UpdateSpriteAt(spritesAdded, spriteData); spritesAdded++; } } else { if (spriteChip.IsEmpty(spriteData) == false) { spriteChip.UpdateSpriteAt(index, spriteData); spritesAdded++; } } } }