示例#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;
 }
示例#2
0
文件: Bot.cs 项目: JaWSnl/swoc2014
 public void HandleInitiate(Protocol.InitiateRequest request)
 {
     myColor = request.Color;
 }