Package mindustry.ai.types
Class FlyingFollowAI
java.lang.Object
mindustry.entities.units.AIController
mindustry.ai.types.FlyingAI
mindustry.ai.types.FlyingFollowAI
- All Implemented Interfaces:
UnitController
AI/wave team only! This is used for wave support flyers.
-
Field Summary
FieldsFields inherited from class mindustry.entities.units.AIController
bomberTarget, fallback, noTargetTime, rotateBackTimer, target, timer, timerTarget, timerTarget2, timerTarget3, timerTarget4, unit, vec -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class mindustry.ai.types.FlyingAI
findMainTarget, findTarget, targetFlagMethods inherited from class mindustry.entities.units.AIController
afterRead, alterPathfind, checkTarget, circle, circle, circleAttack, commandPosition, commandTarget, faceMovement, faceTarget, getClosestSpawner, init, invalid, isLogicControllable, keepState, moveTo, moveTo, moveTo, moveTo, pathfind, pathfind, pathfind, prefSpeed, resetTimers, retarget, shouldFire, shouldShoot, stanceChanged, stopShooting, target, targetInvalidated, unit, unit, unloadPayloads, updateTargeting, updateUnit, updateWeaponsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mindustry.entities.units.UnitController
hit, isValidController, removed
-
Field Details
-
following
public mindustry.gen.Teamc following
-
-
Constructor Details
-
FlyingFollowAI
public FlyingFollowAI()
-
-
Method Details
-
updateMovement
public void updateMovement()- Overrides:
updateMovementin classFlyingAI
-
shouldFaceTarget
public boolean shouldFaceTarget() -
updateVisuals
public void updateVisuals()- Overrides:
updateVisualsin classAIController
-
fallback
- Overrides:
fallbackin classAIController
-
useFallback
public boolean useFallback()- Overrides:
useFallbackin classAIController
-