Better Flare/Avert targeting / Fixed targets resetting on save load

This commit is contained in:
Anuken
2023-12-10 08:32:49 -05:00
parent 484d89f022
commit e494806cc8
7 changed files with 39 additions and 2 deletions

View File

@@ -55,6 +55,11 @@ public class AIController implements UnitController{
return false;
}
@Override
public void afterRead(Unit unit){
}
@Override
public boolean isLogicControllable(){
return true;

View File

@@ -27,6 +27,10 @@ public interface UnitController{
}
default void afterRead(Unit unit){
}
default boolean isBeingControlled(Unit player){
return false;
}