summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/map
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-01-04 20:43:53 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-01-04 20:43:53 +0100
commit24deb1faa19371913ac0fdce12687710d9e2392b (patch)
tree5f7b40a8c168366453587eac60f1daf0ae37999f /core/src/ch/asynk/rustanddust/game/map
parent9049d13178f17cf95986c6a26dc02676537cf138 (diff)
downloadRustAndDust-24deb1faa19371913ac0fdce12687710d9e2392b.zip
RustAndDust-24deb1faa19371913ac0fdce12687710d9e2392b.tar.gz
PathBuilder: choosePath() -p chooseBest()
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/map')
-rw-r--r--core/src/ch/asynk/rustanddust/game/map/Map2Moves.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/map/Map2Moves.java b/core/src/ch/asynk/rustanddust/game/map/Map2Moves.java
index 239e38e..c235de3 100644
--- a/core/src/ch/asynk/rustanddust/game/map/Map2Moves.java
+++ b/core/src/ch/asynk/rustanddust/game/map/Map2Moves.java
@@ -74,7 +74,7 @@ public abstract class Map2Moves extends Map1Units
public boolean pathsCanExit(Orientation o) { return paths.canExit(o); }
public void pathsSetExit(Orientation o) { paths.setExit(o); }
public boolean pathsContains(Hex hex) { return paths.contains(hex); }
- public int pathsChooseOne() { return paths.choosePath(); }
+ public int pathsChooseBest() { return paths.chooseBest(); }
public int pathsToggleHex(Hex hex)
{
boolean enable = !hex.isOverlayEnabled(Hex.MOVE);