delete AI Players

This commit is contained in:
2025-02-10 20:06:00 -06:00
parent 57b18c2d15
commit b097472402
5 changed files with 1 additions and 162 deletions
-7
View File
@@ -9,8 +9,6 @@
package engine.workthreads;
import engine.AiPlayers.AiPlayer;
import engine.AiPlayers.AiPlayerManager;
import engine.Enum;
import engine.gameManager.SessionManager;
import engine.gameManager.SimulationManager;
@@ -37,11 +35,6 @@ public class UpdateThread implements Runnable {
player.update(true);
}
}
for(AiPlayer player : AiPlayerManager.AiPlayers){
if (player != null) {
player.update();
}
}
} catch (Exception e) {
Logger.error("UPDATE ERROR",e);
}