mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-05 13:08:20 +07:00
public AI fields
This commit is contained in:
parent
8e179552ec
commit
63795d9df8
@ -15,11 +15,12 @@ import static mindustry.Vars.*;
|
||||
public class BuilderAI extends AIController{
|
||||
public static float buildRadius = 1500, retreatDst = 110f, fleeRange = 370f, retreatDelay = Time.toSeconds * 2f;
|
||||
|
||||
public @Nullable Unit following;
|
||||
public @Nullable Teamc enemy;
|
||||
public @Nullable BlockPlan lastPlan;
|
||||
|
||||
boolean found = false;
|
||||
float retreatTimer;
|
||||
@Nullable Unit following;
|
||||
@Nullable Teamc enemy;
|
||||
@Nullable BlockPlan lastPlan;
|
||||
|
||||
@Override
|
||||
public void updateMovement(){
|
||||
|
@ -9,9 +9,9 @@ import mindustry.world.*;
|
||||
import static mindustry.Vars.*;
|
||||
|
||||
public class MinerAI extends AIController{
|
||||
boolean mining = true;
|
||||
Item targetItem;
|
||||
Tile ore;
|
||||
public boolean mining = true;
|
||||
public Item targetItem;
|
||||
public Tile ore;
|
||||
|
||||
@Override
|
||||
public void updateMovement(){
|
||||
|
Loading…
Reference in New Issue
Block a user