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

Minor fixes

parent 0ac16802
......@@ -138,12 +138,6 @@ public class Main{
p.x += xShift;
p.y += yShift;
if( p.target == null && isThiefInRange(p.x, p.y) ){
for( Police police : this.polices ){
police.target = this.thief;
}
}
this.policeMoves++;
break;
}
......@@ -196,6 +190,10 @@ public class Main{
System.out.println("");
}
}
public void printFinal(){
}
}
static class Thief{
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