summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-01-08 15:01:22 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-01-08 15:08:08 +0100
commit584c587574a90c90760d72f6f57bdfebd94893d4 (patch)
treef5e2b43aa0befcc5f14678ed1335c2b063bf222c /core/src/ch/asynk
parentb62827b9197dea44bc90498a72e732084b3e028f (diff)
downloadRustAndDust-584c587574a90c90760d72f6f57bdfebd94893d4.zip
RustAndDust-584c587574a90c90760d72f6f57bdfebd94893d4.tar.gz
PossiblePaths: improve printToErr()
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/tankontank/engine/PossiblePaths.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/PossiblePaths.java b/core/src/ch/asynk/tankontank/engine/PossiblePaths.java
index fb941ec..9690158 100644
--- a/core/src/ch/asynk/tankontank/engine/PossiblePaths.java
+++ b/core/src/ch/asynk/tankontank/engine/PossiblePaths.java
@@ -259,11 +259,11 @@ public class PossiblePaths implements Iterable<Vector3>
private void printToErr(String what, List<ArrayList<Tile>> paths)
{
- System.err.println(what + " ("+paths.size()+")");
+ System.err.println(what + " ("+paths.size()+") " + from + " -> " + to);
for (ArrayList<Tile> path : paths) {
- System.err.println(" - path");
+ System.err.println(" - path (" + path.size() +")");
for(Tile tile : path)
- System.err.println(" " + tile);
+ System.err.println(" " + tile.toString());
}
System.err.println();
}