it is done
This commit is contained in:
18
core/src/mindustry/entities/units/UnitCommand.java
Normal file
18
core/src/mindustry/entities/units/UnitCommand.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package mindustry.entities.units;
|
||||
|
||||
import arc.*;
|
||||
|
||||
public enum UnitCommand{
|
||||
attack, retreat, rally;
|
||||
|
||||
private final String localized;
|
||||
public static final UnitCommand[] all = values();
|
||||
|
||||
UnitCommand(){
|
||||
localized = Core.bundle.get("command." + name());
|
||||
}
|
||||
|
||||
public String localized(){
|
||||
return localized;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user