避让修改
Tento commit je obsažen v:
2022-08-03 17:51:57 +08:00
rodič d595e8985c
revize 95f1c30cad

Zobrazit soubor

@@ -118,10 +118,10 @@ public class TaskDistanceUtils {
if (otherNowPosition>=minDistance&&otherNowPosition<=maxDistance){
return true;
}else {
if (Math.abs(otherNowPosition-maxDistance)<4){
if (Math.abs(otherNowPosition-maxDistance)<2){
return true;
}
if (Math.abs(otherNowPosition-minDistance)<4){
if (Math.abs(otherNowPosition-minDistance)<2){
return true;
}
return false;