예제 #1
0
파일: Client.cs 프로젝트: adamrezich/arena
 public void ReceiveStartLoading()
 {
     Match = new Match();
 }
예제 #2
0
파일: Server.cs 프로젝트: adamrezich/arena
 public void StartLoading()
 {
     Console.WriteLine("[S] Starting match loading");
     Match = new Match();
     foreach (RemoteClient r in AllClients()) {
         r.SendStartLoading();
     }
     foreach (KeyValuePair<int, Player> kvp in Players) {
         /*Unit u = */MakePlayerUnit(kvp.Value, new Vector2(600, 600));
     }
 }