예제 #1
0
 public void AddEatar(Participant participant)
 {
     if (eatarMap.ContainsKey(participant.name))
     {
         eatarMap[participant.name].count++;
     }
     else
     {
         eatarMap.Add(participant.name, participant.CreateEater());
     }
 }