Package mindustry.ai.types
Class SuicideAI
java.lang.Object
mindustry.entities.units.AIController
mindustry.ai.types.GroundAI
mindustry.ai.types.SuicideAI
- All Implemented Interfaces:
UnitController
-
Field Summary
Fields inherited from class mindustry.entities.units.AIController
bomberTarget, fallback, noTargetTime, rotateBackTimer, target, timer, timerTarget, timerTarget2, timerTarget3, timerTarget4, unit, vec -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmindustry.gen.Teamctarget(float x, float y, float range, boolean air, boolean ground) voidMethods inherited from class mindustry.ai.types.GroundAI
updateMovementMethods inherited from class mindustry.entities.units.AIController
afterRead, alterPathfind, checkTarget, circle, circle, circleAttack, commandPosition, commandTarget, faceMovement, faceTarget, fallback, findMainTarget, findTarget, getClosestSpawner, init, invalid, isLogicControllable, keepState, moveTo, moveTo, moveTo, moveTo, pathfind, pathfind, pathfind, prefSpeed, resetTimers, retarget, shouldFire, shouldShoot, stanceChanged, stopShooting, targetFlag, targetInvalidated, unit, unit, unloadPayloads, updateTargeting, updateVisuals, updateWeapons, useFallbackMethods 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
-
Constructor Details
-
SuicideAI
public SuicideAI()
-
-
Method Details
-
updateUnit
public void updateUnit()- Specified by:
updateUnitin interfaceUnitController- Overrides:
updateUnitin classAIController
-
target
public mindustry.gen.Teamc target(float x, float y, float range, boolean air, boolean ground) - Overrides:
targetin classAIController
-