diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-25 22:43:52 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-25 22:43:52 +0200 |
commit | 56fe1b1603713db50413a08201b8dc587c631d7a (patch) | |
tree | 53540b0099dffa06a490777581748191722e614a /core/src/ch/asynk/tankontank/engine | |
parent | 690ed876d2d03915013de15de626bffad52facba (diff) | |
download | RustAndDust-56fe1b1603713db50413a08201b8dc587c631d7a.zip RustAndDust-56fe1b1603713db50413a08201b8dc587c631d7a.tar.gz |
Pawn.getMvt -> Pawn.getMovementPoints
Diffstat (limited to 'core/src/ch/asynk/tankontank/engine')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/Pawn.java | 2 | ||||
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/SearchBoard.java | 2 |
2 files changed, 2 insertions, 2 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); |