Commit c084a160 authored by hosein's avatar hosein

king -> canRoute added

parent 2237727f
......@@ -32,4 +32,9 @@ public class King extends Nut {
public void changeAlive() {
isAlive = false;
}
@Override
public boolean canRoute(int[] destination, int[][] ground) {
return true;
}
}
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