diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-08 20:09:28 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-08 20:09:28 +0100 |
commit | 59e0f7fe6a27f8150df6627a7eac2ec6456f6ba2 (patch) | |
tree | 9ed91ca2aeca3e41cbd06e2a6606c4ff122606ff /core/src/ch/asynk/rustanddust/game | |
parent | 8105a5a9d4f617df6cbccc22d895cda31f6d33d6 (diff) | |
download | RustAndDust-59e0f7fe6a27f8150df6627a7eac2ec6456f6ba2.zip RustAndDust-59e0f7fe6a27f8150df6627a7eac2ec6456f6ba2.tar.gz |
Map2Moves: fix call to paths.build
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/map/Map2Moves.java | 2 |
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 e626655..c991d7e 100644 --- a/core/src/ch/asynk/rustanddust/game/map/Map2Moves.java +++ b/core/src/ch/asynk/rustanddust/game/map/Map2Moves.java @@ -67,7 +67,7 @@ public abstract class Map2Moves extends Map1Units public void pathsClear() { paths.clear(); } public void pathsInit(Unit unit) { paths.init(unit); } public void pathsInit(Unit unit, Hex hex) { paths.init(unit, hex); } - public int pathsBuild(Hex hex) { return pathsBuild(hex); } + public int pathsBuild(Hex hex) { return paths.build(hex); } public Hex pathsTo() { return (Hex) paths.to; } public void pathsSetOrientation(Orientation o) { paths.orientation = o; } public boolean pathsIsSet() { return paths.isSet(); } |