summaryrefslogtreecommitdiffstats
path: root/core/test
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-05-02 17:54:22 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-05-02 17:54:22 +0200
commite3069eb0cf7ea8d8ebec6fbe312c5c2af37ea050 (patch)
tree553bb46987046943ab4918b5433e241f6da52696 /core/test
parente8924d2e7bf6c93d0d2f0c5f2d9fa72b6b9a0f95 (diff)
downloadRustAndDust-e3069eb0cf7ea8d8ebec6fbe312c5c2af37ea050.zip
RustAndDust-e3069eb0cf7ea8d8ebec6fbe312c5c2af37ea050.tar.gz
Pawn,Unit: add spendMovementPoints(int) and getSpentMovementPoints()
Diffstat (limited to 'core/test')
-rw-r--r--core/test/ch/asynk/rustanddust/Helpers.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/test/ch/asynk/rustanddust/Helpers.java b/core/test/ch/asynk/rustanddust/Helpers.java
index bc5b4d6..c5164cd 100644
--- a/core/test/ch/asynk/rustanddust/Helpers.java
+++ b/core/test/ch/asynk/rustanddust/Helpers.java
@@ -12,6 +12,7 @@ public class Helpers
{
public static class FakePawn extends HeadedPawn
{
+ @Override public int getSpentMovementPoints() { return 0; }
@Override public int getMovementPoints() { return 3; }
@Override public int getRoadMarchBonus() { return 1; }
@Override public int getFlankSides() { return orientation.getBackSides(); }