Beispiel #1
0
 public void AddAction(Player player, Action action)
 {
     if (actionDict.ContainsKey(player))
     {
         actionDict[player] = action;
     }
     else
     {
         actionDict.Add(player, action);
     }
 }
Beispiel #2
0
 internal void AddPlayer(Player player)
 {
     players.Add(player);
 }
Beispiel #3
0
 internal void Add(Player player)
 {
     players.Add(player.Name, player);
     playerCount++;
 }