private IEnumerable <Stone> FillAsset() { for (var i = 0; i < 6; i++) { yield return(GameDeck.GetStone()); } }
public void GetNewStones(bool demonstrateWindow = true) { var counter = 0; while (GameDeck.Count > 0 && CurrentPlayer.Stones.All(stone => !GameField.Matches(stone))) { CurrentPlayer.Stones.Add(GameDeck.GetStone()); counter++; } if (demonstrateWindow) { DemonstrateMessage(counter); } }