public GlobalElectionService(Game game) { deck = game.Deck; currentPlayer = game.CurrentPlayer; otherPlayers = game.OtherPlayers(currentPlayer); objetive = game.Objetive; }
public override string ToString() { string prestigeText = Prestige > 0 ? $" ({Prestige.ToString()})" : ""; switch (Constants.CurrentLanguage) { case Language.Spanish: return($"Desarrollo de {Bonus.ToString()} de {Level.ToString()}{prestigeText}"); default: return($"{Bonus.ToString()} {Level.ToString()} development{prestigeText}"); } }
public Game(Prestige objetive, params (Avatar avatar, ColorGroup color)[] profiles)
public ElectionService(Player currentPlayer, Deck deck, Prestige objetive) { this.currentPlayer = currentPlayer; this.deck = deck; this.objetive = objetive; }
public static Prestige operator +(Prestige obj1, Prestige obj2) => Prestige.FromScalar(obj1.value + obj2.value);