summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r--core/src/ch/asynk/tankontank/engine/Pawn.java2
-rw-r--r--core/src/ch/asynk/tankontank/engine/SearchBoard.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/Pawn.java b/core/src/ch/asynk/tankontank/engine/Pawn.java
index 32a20e0..8ccc77b 100644
--- a/core/src/ch/asynk/tankontank/engine/Pawn.java
+++ b/core/src/ch/asynk/tankontank/engine/Pawn.java
@@ -24,7 +24,7 @@ public abstract class Pawn extends Image implements Disposable
private StackedImages overlays;
private ArrayDeque<Vector3> path = new ArrayDeque<Vector3>();
- public abstract int getMvt();
+ public abstract int getMovementPoints();
public abstract int getRoadMarchBonus();
public abstract boolean isEnemy(Pawn other);
public abstract int getAngleOfAttack();
diff --git a/core/src/ch/asynk/tankontank/engine/SearchBoard.java b/core/src/ch/asynk/tankontank/engine/SearchBoard.java
index 4c16680..cfe5b24 100644
--- a/core/src/ch/asynk/tankontank/engine/SearchBoard.java
+++ b/core/src/ch/asynk/tankontank/engine/SearchBoard.java
@@ -87,7 +87,7 @@ public class SearchBoard
Node start = getNode(col, row);
start.parent = null;
start.search = searchCount;
- start.mvtLeft = pawn.getMvt();;
+ start.mvtLeft = pawn.getMovementPoints();
start.roadMarch = true;
stack.push(start);
diff --git a/core/src/ch/asynk/tankontank/game/Unit.java b/core/src/ch/asynk/tankontank/game/Unit.java
index cab86ce..7567307 100644
--- a/core/src/ch/asynk/tankontank/game/Unit.java
+++ b/core/src/ch/asynk/tankontank/game/Unit.java
@@ -19,7 +19,7 @@ public class Unit extends HeadedPawn
public Army army;
@Override
- public int getMvt()
+ public int getMovementPoints()
{
return mp;
}