equal
deleted
inserted
replaced
23 @Override |
23 @Override |
24 public void run() { |
24 public void run() { |
25 System.out.println(route); |
25 System.out.println(route); |
26 } |
26 } |
27 }); |
27 }); |
28 // TODO solver |
28 AbstractSolver solver = new SimpleSolver(mine, new SolverListener() { |
29 while (true) { |
29 |
30 Thread.sleep(1000); |
30 @Override |
31 } |
31 public void foundNextRoute(String newRoute) { |
|
32 route = newRoute; |
|
33 } |
|
34 }); |
32 } |
35 } |
33 |
36 |
34 public static void main(String[] args) throws IOException, InterruptedException { |
37 public static void main(String[] args) throws IOException, InterruptedException { |
35 String map = ""; |
38 String map = ""; |
36 for (String arg : args) { |
39 for (String arg : args) { |