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
fallback, noTargetTime, rotateBackTimer, target, timer, timerTarget, timerTarget2, timerTarget3, timerTarget4, unit, vec
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmindustry.gen.Teamc
target
(float x, float y, float range, boolean air, boolean ground) void
Methods inherited from class mindustry.ai.types.GroundAI
updateMovement
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, targetFlag, unit, unit, unloadPayloads, updateTargeting, 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
-
SuicideAI
public SuicideAI()
-
-
Method Details
-
updateUnit
public void updateUnit()- Specified by:
updateUnit
in interfaceUnitController
- Overrides:
updateUnit
in classAIController
-
target
public mindustry.gen.Teamc target(float x, float y, float range, boolean air, boolean ground) - Overrides:
target
in classAIController
-