Example #1
0
 public GlobalElectionService(Game game)
 {
     deck          = game.Deck;
     currentPlayer = game.CurrentPlayer;
     otherPlayers  = game.OtherPlayers(currentPlayer);
     objetive      = game.Objetive;
 }
Example #2
0
        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}");
            }
        }
Example #3
0
 public Game(Prestige objetive, params (Avatar avatar, ColorGroup color)[] profiles)
Example #4
0
 public ElectionService(Player currentPlayer, Deck deck, Prestige objetive)
 {
     this.currentPlayer = currentPlayer;
     this.deck          = deck;
     this.objetive      = objetive;
 }
Example #5
0
 public static Prestige operator +(Prestige obj1, Prestige obj2) => Prestige.FromScalar(obj1.value + obj2.value);