From 584c587574a90c90760d72f6f57bdfebd94893d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 8 Jan 2015 15:01:22 +0100 Subject: PossiblePaths: improve printToErr() --- core/src/ch/asynk/tankontank/engine/PossiblePaths.java | 6 +++--- 1 file 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 private void printToErr(String what, List> paths) { - System.err.println(what + " ("+paths.size()+")"); + System.err.println(what + " ("+paths.size()+") " + from + " -> " + to); for (ArrayList 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(); } -- cgit v1.1-2-g2b99