Saving of unit commands

This commit is contained in:
Anuken
2022-02-14 18:24:18 -05:00
parent 9a2254cccb
commit 6c2e0c0b33
3 changed files with 16 additions and 1 deletions
@@ -78,6 +78,11 @@ public class CommandAI extends AIController{
}
}
@Override
public boolean keepState(){
return true;
}
@Override
public Teamc findTarget(float x, float y, float range, boolean air, boolean ground){
return attackTarget == null ? super.findTarget(x, y, range, air, ground) : attackTarget;