示例#1
0
 public void SetClientManager(GameCore.Interfaces.ClientManager clientManager)
 {
     ClientManager = clientManager;
     GameWidgetOver.SetClientManager(clientManager);
     foreach (var item in clientManager.Players)
     {
         var gps = new GamePlayerState(item.Value);
         playerStates.Add(item.Key, gps);
         _players.Add(gps);
         gps.Visible = true;
     }
 }