Ejemplo n.º 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();
 }
Ejemplo n.º 2
0
 public NPCFieldSimulation(string mapsProgram, NPCPlayer npclink)
     : base(mapsProgram, npclink)
 {
 }