/// <summary> /// Adds the dice from the DiceList to the row. /// </summary> /// <param name="dL">List of dice the user is rolling.</param> public void AddDice(List <Die> dL) { foreach (var die in dL) { var diePos = new Vector2(_position.X + (DiceSprites.Count * Padding), _position.Y); DiceSprites.Add(new DiceSprite(die, diePos, DiceSprites.Count, this)); } }
public void Clear() { DiceSprites.Clear(); }