Logic unit control
This commit is contained in:
20
core/src/mindustry/logic/LUnitControl.java
Normal file
20
core/src/mindustry/logic/LUnitControl.java
Normal file
@@ -0,0 +1,20 @@
|
||||
package mindustry.logic;
|
||||
|
||||
public enum LUnitControl{
|
||||
stop,
|
||||
move("x", "y"),
|
||||
approach("x", "y", "radius"),
|
||||
target("x", "y", "shoot"),
|
||||
targetp("unit", "shoot"),
|
||||
itemDrop("to", "amount"),
|
||||
itemTake("from", "item", "amount"),
|
||||
mine("x", "y"),
|
||||
flag("value");
|
||||
|
||||
public final String[] params;
|
||||
public static final LUnitControl[] all = values();
|
||||
|
||||
LUnitControl(String... params){
|
||||
this.params = params;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user