Пример #1
0
        public void OnCard(Game game, Vegetable vegetable, int amount, Player player)
        {
            var send = new JObject {
                { "id", "game/card" },
                { "data", new JObject {
                      { "vegetable", vegetable.ToString() },
                      { "amount", amount },
                      { "playerUuid", player.Uuid }
                  } }
            };

            SendToAllPlayersInGame(game, send);
        }
Пример #2
0
 internal void Add(Vegetable vegetable)
 {
     Console.WriteLine(vegetable.ToString() + " is in the bowl");
 }
Пример #3
0
 internal void Add(Vegetable vegetable)
 {
     Console.WriteLine(vegetable.ToString() + " is in the bowl");
 }