Package mindustry.logic
Class LExecutor.UnitControlI
java.lang.Object
mindustry.logic.LExecutor.UnitControlI
- All Implemented Interfaces:
LExecutor.LInstruction
- Enclosing class:
- LExecutor
Controls the unit based on some parameters.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnitControlI
(LUnitControl type, LVar p1, LVar p2, LVar p3, LVar p4, LVar p5) -
Method Summary
-
Field Details
-
type
-
p1
-
p2
-
p3
-
p4
-
p5
-
-
Constructor Details
-
UnitControlI
-
UnitControlI
public UnitControlI()
-
-
Method Details
-
checkLogicAI
Checks is a unit is valid for logic AI control, and returns the controller. -
run
- Specified by:
run
in interfaceLExecutor.LInstruction
-