public void AddSprite(ImageElement image, float handleX, float handleY) { Sprite sprite = new Sprite(); sprite.Image = image; sprite.HandleX = handleX; sprite.HandleY = handleY; Sprites.Add(sprite); }
public void AddSprites(ImageElement[] images, float handleX, float handleY) { foreach (ImageElement image in images) { Sprite sprite = new Sprite(); sprite.Image = image; sprite.HandleX = handleX; sprite.HandleY = handleY; Sprites.Add(sprite); } }