WIP base prebuild AI (not functional)

This commit is contained in:
Anuken
2025-05-10 15:18:27 -04:00
parent 23c45154a9
commit cc71da6dfe
9 changed files with 300 additions and 12 deletions

View File

@@ -2368,8 +2368,7 @@ public class UnitTypes{
//region core
alpha = new UnitType("alpha"){{
aiController = () -> new BuilderAI(true, 400f);
controller = u -> u.team.isAI() ? aiController.get() : new CommandAI();
controller = u -> u.team.isAI() ? new BuilderAI(true, 400f) : new CommandAI();
isEnemy = false;
targetBuildingsMobile = false;
@@ -2408,8 +2407,7 @@ public class UnitTypes{
}};
beta = new UnitType("beta"){{
aiController = () -> new BuilderAI(true, 400f);
controller = u -> u.team.isAI() ? aiController.get() : new CommandAI();
controller = u -> u.team.isAI() ? new BuilderAI(true, 400f) : new CommandAI();
isEnemy = false;
targetBuildingsMobile = false;
@@ -2451,8 +2449,7 @@ public class UnitTypes{
}};
gamma = new UnitType("gamma"){{
aiController = () -> new BuilderAI(true, 400f);
controller = u -> u.team.isAI() ? aiController.get() : new CommandAI();
controller = u -> u.team.isAI() ? new BuilderAI(true, 400f) : new CommandAI();
isEnemy = false;
targetBuildingsMobile = false;