Use movePref for circling

This commit is contained in:
Anuken
2024-01-09 12:17:11 -05:00
parent f5b9fc21d0
commit 4aaf3b2287

View File

@@ -277,7 +277,7 @@ public class AIController implements UnitController{
vec.setLength(prefSpeed());
unit.moveAt(vec);
unit.movePref(vec);
}
public void circle(Position target, float circleLength){
@@ -295,7 +295,7 @@ public class AIController implements UnitController{
vec.setLength(speed);
unit.moveAt(vec);
unit.movePref(vec);
}
public void moveTo(Position target, float circleLength){