summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-14 09:32:47 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-14 09:32:47 +0200
commitd8b0575ebc75691012eddb2590d5d95464a55d1b (patch)
tree3fa203f7368c43163bcb33a4178c5cb87c5f874b /core/src/ch/asynk
parentc8367f11b593addb84ed11f49bda3be02a30b7c1 (diff)
downloadRustAndDust-d8b0575ebc75691012eddb2590d5d95464a55d1b.zip
RustAndDust-d8b0575ebc75691012eddb2590d5d95464a55d1b.tar.gz
unify error msgs
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/tankontank/engine/SearchBoard.java2
-rw-r--r--core/src/ch/asynk/tankontank/game/Player.java2
-rw-r--r--core/src/ch/asynk/tankontank/game/Unit.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/SearchBoard.java b/core/src/ch/asynk/tankontank/engine/SearchBoard.java
index 8117434..49b4264 100644
--- a/core/src/ch/asynk/tankontank/engine/SearchBoard.java
+++ b/core/src/ch/asynk/tankontank/engine/SearchBoard.java
@@ -360,7 +360,7 @@ public class SearchBoard
return false;
if (!validatePathAngle(pawn.getAngleOfAttack(), los)) {
- System.err.println("angleOfAttack is not respected");
+ System.err.println("ERROR: angleOfAttack is not respected, please report");
return false;
}
diff --git a/core/src/ch/asynk/tankontank/game/Player.java b/core/src/ch/asynk/tankontank/game/Player.java
index e6bef72..ca8716c 100644
--- a/core/src/ch/asynk/tankontank/game/Player.java
+++ b/core/src/ch/asynk/tankontank/game/Player.java
@@ -74,7 +74,7 @@ public class Player implements Drawable, Disposable
public void burnDownOneAp()
{
actionPoints -= 1;
- if (actionPoints < 0) System.err.println("AP < 0, damn that's very wrong");
+ if (actionPoints < 0) System.err.println("ERROR: AP < 0, damn that's very wrong, please report");
}
public void turnEnd()
diff --git a/core/src/ch/asynk/tankontank/game/Unit.java b/core/src/ch/asynk/tankontank/game/Unit.java
index d9ac448..b559489 100644
--- a/core/src/ch/asynk/tankontank/game/Unit.java
+++ b/core/src/ch/asynk/tankontank/game/Unit.java
@@ -153,7 +153,7 @@ public class Unit extends HeadedPawn
public void move(int cost)
{
hasMoved = true;
- if (cost > mp) System.err.println("Movement point exceeded: " + cost + "/" + mp);
+ if (cost > mp) System.err.println("ERROR: Movement point exceeded: " + cost + "/" + mp + " please report");
}
@Override