summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-09-25 22:43:52 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-09-25 22:43:52 +0200
commit56fe1b1603713db50413a08201b8dc587c631d7a (patch)
tree53540b0099dffa06a490777581748191722e614a /core/src
parent690ed876d2d03915013de15de626bffad52facba (diff)
downloadRustAndDust-56fe1b1603713db50413a08201b8dc587c631d7a.zip
RustAndDust-56fe1b1603713db50413a08201b8dc587c631d7a.tar.gz
Pawn.getMvt -> Pawn.getMovementPoints
Diffstat (limited to 'core/src')
-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;
}