DEATH AND DESTRUCTION
This commit is contained in:
@@ -69,10 +69,6 @@ public class AIController implements UnitController{
|
||||
return false;
|
||||
}
|
||||
|
||||
public UnitCommand command(){
|
||||
return unit.team.data().command;
|
||||
}
|
||||
|
||||
public void updateVisuals(){
|
||||
if(unit.isFlying()){
|
||||
unit.wobble();
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
package mindustry.entities.units;
|
||||
|
||||
import arc.*;
|
||||
|
||||
public enum UnitCommand{
|
||||
attack, rally, idle;
|
||||
|
||||
private final String localized;
|
||||
public static final UnitCommand[] all = values();
|
||||
|
||||
UnitCommand(){
|
||||
localized = Core.bundle.get("command." + name());
|
||||
}
|
||||
|
||||
public String localized(){
|
||||
return localized;
|
||||
}
|
||||
}
|
||||
@@ -10,10 +10,6 @@ public interface UnitController{
|
||||
return true;
|
||||
}
|
||||
|
||||
default void command(UnitCommand command){
|
||||
|
||||
}
|
||||
|
||||
default void updateUnit(){
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user