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; }
public void HandleInitiate(Protocol.InitiateRequest request) { myColor = request.Color; }