Files
Mindustry/core/src/mindustry/logic/LUnitControl.java
2021-10-13 10:18:34 -04:00

30 lines
689 B
Java

package mindustry.logic;
public enum LUnitControl{
idle,
stop,
move("x", "y"),
approach("x", "y", "radius"),
boost("enable"),
pathfind(),
target("x", "y", "shoot"),
targetp("unit", "shoot"),
itemDrop("to", "amount"),
itemTake("from", "item", "amount"),
payDrop,
payTake("takeUnits"),
payEnter,
mine("x", "y"),
flag("value"),
build("x", "y", "block", "rotation", "config"),
getBlock("x", "y", "type", "building"),
within("x", "y", "radius", "result");
public final String[] params;
public static final LUnitControl[] all = values();
LUnitControl(String... params){
this.params = params;
}
}