diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-04 20:43:53 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-04 20:43:53 +0100 |
commit | 24deb1faa19371913ac0fdce12687710d9e2392b (patch) | |
tree | 5f7b40a8c168366453587eac60f1daf0ae37999f /core/src/ch/asynk/rustanddust/engine | |
parent | 9049d13178f17cf95986c6a26dc02676537cf138 (diff) | |
download | RustAndDust-24deb1faa19371913ac0fdce12687710d9e2392b.zip RustAndDust-24deb1faa19371913ac0fdce12687710d9e2392b.tar.gz |
PathBuilder: choosePath() -p chooseBest()
Diffstat (limited to 'core/src/ch/asynk/rustanddust/engine')
-rw-r--r-- | core/src/ch/asynk/rustanddust/engine/PathBuilder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/PathBuilder.java b/core/src/ch/asynk/rustanddust/engine/PathBuilder.java index 28527d7..70c9236 100644 --- a/core/src/ch/asynk/rustanddust/engine/PathBuilder.java +++ b/core/src/ch/asynk/rustanddust/engine/PathBuilder.java @@ -121,7 +121,7 @@ public class PathBuilder implements Disposable return paths.size(); } - public int choosePath() + public int chooseBest() { if (paths.size() > 1) { Path good = paths.get(0); |