diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-01-08 15:01:22 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-01-08 15:08:08 +0100 |
commit | 584c587574a90c90760d72f6f57bdfebd94893d4 (patch) | |
tree | f5e2b43aa0befcc5f14678ed1335c2b063bf222c /core/src/ch | |
parent | b62827b9197dea44bc90498a72e732084b3e028f (diff) | |
download | RustAndDust-584c587574a90c90760d72f6f57bdfebd94893d4.zip RustAndDust-584c587574a90c90760d72f6f57bdfebd94893d4.tar.gz |
PossiblePaths: improve printToErr()
Diffstat (limited to 'core/src/ch')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/PossiblePaths.java | 6 |
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(); } |