Package mindustry.ai.types
Class RepairAI
java.lang.Object
mindustry.entities.units.AIController
mindustry.ai.types.RepairAI
- All Implemented Interfaces:
UnitController
-
Field Summary
Modifier and TypeFieldDescriptionstatic float
static float
static float
Fields inherited from class mindustry.entities.units.AIController
fallback, noTargetTime, rotateBackTimer, target, timer, timerTarget, timerTarget2, timerTarget3, timerTarget4, unit, vec
-
Constructor Summary
-
Method Summary
Methods inherited from class mindustry.entities.units.AIController
checkTarget, circle, circle, circleAttack, commandPosition, commandTarget, faceMovement, faceTarget, fallback, findMainTarget, findTarget, getClosestSpawner, init, invalid, isLogicControllable, keepState, moveTo, moveTo, moveTo, moveTo, pathfind, retarget, shouldShoot, stopShooting, target, targetFlag, unit, unit, unloadPayloads, updateUnit, updateVisuals, updateWeapons, useFallback
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface mindustry.entities.units.UnitController
hit, isBeingControlled, isValidController, removed
-
Field Details
-
retreatDst
public static float retreatDst -
fleeRange
public static float fleeRange -
retreatDelay
public static float retreatDelay
-
-
Constructor Details
-
RepairAI
public RepairAI()
-
-
Method Details
-
updateMovement
public void updateMovement()- Overrides:
updateMovement
in classAIController
-
updateTargeting
public void updateTargeting()- Overrides:
updateTargeting
in classAIController
-