Exemple #1
0
 public static Player Find(string name)
 {
     foreach (Player p in Player.all)
     {
         if (p.Playername == name)
         {
             return p;
         }
     }
     Player who = new Player(name);
     return who;
 }
Exemple #2
0
 public void HandleInitiate(Protocol.InitiateRequest request)
 {
     myColor = request.Color;
 }