Package mindustry.ai.types
Class FlyingAI
java.lang.Object
mindustry.entities.units.AIController
mindustry.ai.types.FlyingAI
- All Implemented Interfaces:
UnitController
- Direct Known Subclasses:
FlyingFollowAI
-
Field Summary
Fields inherited from class mindustry.entities.units.AIController
fallback, noTargetTime, rotateBackTimer, target, timer, timerTarget, timerTarget2, timerTarget3, timerTarget4, unit, vec
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmindustry.gen.Teamc
findMainTarget
(float x, float y, float range, boolean air, boolean ground) mindustry.gen.Teamc
findTarget
(float x, float y, float range, boolean air, boolean ground) void
Methods inherited from class mindustry.entities.units.AIController
checkTarget, circle, circle, circleAttack, commandPosition, commandTarget, faceMovement, faceTarget, fallback, getClosestSpawner, init, invalid, isLogicControllable, keepState, moveTo, moveTo, moveTo, moveTo, pathfind, retarget, shouldShoot, stopShooting, target, targetFlag, unit, unit, unloadPayloads, updateTargeting, 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
-
Constructor Details
-
FlyingAI
public FlyingAI()
-
-
Method Details
-
updateMovement
public void updateMovement()- Overrides:
updateMovement
in classAIController
-
findTarget
public mindustry.gen.Teamc findTarget(float x, float y, float range, boolean air, boolean ground) - Overrides:
findTarget
in classAIController
-
findMainTarget
public mindustry.gen.Teamc findMainTarget(float x, float y, float range, boolean air, boolean ground) - Overrides:
findMainTarget
in classAIController
-