public GameConfig ToGameConfig() { return new GameConfig( this.ToGameDescription(), this.startingDeck, this.shuffleLuck); }
public static GameConfig Create(params Card[] cards) { var result = new GameConfigBuilder(); result.kingdomPiles = cards; return(result.ToGameConfig()); }