summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r--core/src/ch/asynk/rustanddust/engine/PathBuilder.java4
-rw-r--r--core/src/ch/asynk/rustanddust/game/states/StateRotate.java2
-rw-r--r--core/src/ch/asynk/rustanddust/game/states/StateWithdraw.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/PathBuilder.java b/core/src/ch/asynk/rustanddust/engine/PathBuilder.java
index 9d564b5..9955b92 100644
--- a/core/src/ch/asynk/rustanddust/engine/PathBuilder.java
+++ b/core/src/ch/asynk/rustanddust/engine/PathBuilder.java
@@ -223,7 +223,7 @@ public class PathBuilder implements Disposable
public Move getMove()
{
if (size() != 1) {
- System.err.println("ERROR not a sigle path found");
+ System.err.println("ERROR PathBuilder not a single path found");
printToErr("paths", paths);
return null;
}
@@ -279,7 +279,7 @@ public class PathBuilder implements Disposable
private void printToErr(String what, List<Path> paths)
{
- System.err.println(what + pawn + " ("+paths.size()+") " + from + " -> " + to);
+ System.err.println(what + " " + paths.size() + " - " + from + " -> " + to);
for (Path path : paths) {
System.err.println(String.format(" - path (l:%d c:%d r:%b f:%d)", path.tiles.size(), path.cost, path.roadMarch, path.fitness));
for(Tile tile : path.tiles)
diff --git a/core/src/ch/asynk/rustanddust/game/states/StateRotate.java b/core/src/ch/asynk/rustanddust/game/states/StateRotate.java
index 553e5a8..c2a96e8 100644
--- a/core/src/ch/asynk/rustanddust/game/states/StateRotate.java
+++ b/core/src/ch/asynk/rustanddust/game/states/StateRotate.java
@@ -25,7 +25,7 @@ public class StateRotate extends StateCommon
}
if (map.pathsSize() > 1)
- RustAndDust.debug("ERROR: pathsSize() == " + map.pathsSize());
+ RustAndDust.debug("ERROR: Rotate pathsSize() == " + map.pathsSize());
rotateOnly = (to == activeUnit.getHex());
diff --git a/core/src/ch/asynk/rustanddust/game/states/StateWithdraw.java b/core/src/ch/asynk/rustanddust/game/states/StateWithdraw.java
index 4b3e19a..a759e51 100644
--- a/core/src/ch/asynk/rustanddust/game/states/StateWithdraw.java
+++ b/core/src/ch/asynk/rustanddust/game/states/StateWithdraw.java
@@ -44,7 +44,7 @@ public class StateWithdraw extends StateCommon
map.pathsBuild(hex);
if (map.pathsSize() > 1)
- RustAndDust.debug("ERROR: pathsSize() == " + map.pathsSize());
+ RustAndDust.debug("ERROR: Withdraw pathsSize() == " + map.pathsSize());
Hex exitHex = (Hex) map.pathsTo();
if (!exitZone.contains(exitHex))