Exemple #1
0
 public void forceStart()
 {
     Console.WriteLine("forceStart");
     if (roomLink.playingUsers.Count < capacity)
         //TODO: add && condition which will be true if user waits for too long
     {
         int guysNeeded = capacity - getReadyCount();
         for (int i = 0; i < guysNeeded; i++)
         {
             var npc = new NPCPlayer(roomLink);
             npc.ready = true;
             roomLink.playingUsers.Add(npc);
         }
     }
     tryStartGame();
 }
 public NPCFieldSimulation(string mapsProgram, NPCPlayer npclink)
     : base(mapsProgram, npclink)
 {
 }