Package mindustry.ai.types
Class AssemblerAI
java.lang.Object
mindustry.entities.units.AIController
mindustry.ai.types.AssemblerAI
- All Implemented Interfaces:
UnitController
-
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.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, prefSpeed, resetTimers, retarget, shouldFire, shouldShoot, stopShooting, target, targetFlag, targetInvalidated, 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, isValidController, removed
-
Field Details
-
targetPos
public arc.math.geom.Vec2 targetPos -
targetAngle
public float targetAngle
-
-
Constructor Details
-
AssemblerAI
public AssemblerAI()
-
-
Method Details
-
updateMovement
public void updateMovement()- Overrides:
updateMovement
in classAIController
-
inPosition
public boolean inPosition()
-