update:
避让修改
This commit is contained in:
부모
d595e8985c
커밋
95f1c30cad
@ -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;
|
||||
|
불러오는 중...
Reference in New Issue
Block a user