Commit 284276d9 authored by Omid Sayfun's avatar Omid Sayfun

Minor fixes

parent 0ac16802
...@@ -138,12 +138,6 @@ public class Main{ ...@@ -138,12 +138,6 @@ public class Main{
p.x += xShift; p.x += xShift;
p.y += yShift; p.y += yShift;
if( p.target == null && isThiefInRange(p.x, p.y) ){
for( Police police : this.polices ){
police.target = this.thief;
}
}
this.policeMoves++; this.policeMoves++;
break; break;
} }
...@@ -196,6 +190,10 @@ public class Main{ ...@@ -196,6 +190,10 @@ public class Main{
System.out.println(""); System.out.println("");
} }
} }
public void printFinal(){
}
} }
static class Thief{ static class Thief{
public int x; public int x;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment