summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-05-04 02:05:57 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-05-04 02:05:57 +0200
commit09c0730b0f4c938195b6d51ce12a0ef4329b4d1b (patch)
tree6337c8d51240840d61bda513030f3656e253356d /core/src/ch/asynk/rustanddust
parenteb474d91126ba5fbf5f2824fd0b32cd2c0f2535d (diff)
downloadRustAndDust-09c0730b0f4c938195b6d51ce12a0ef4329b4d1b.zip
RustAndDust-09c0730b0f4c938195b6d51ce12a0ef4329b4d1b.tar.gz
ok, I fucked up, path optimisation is not ready yetv26
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r--core/src/ch/asynk/rustanddust/engine/PathBuilder.java4
-rw-r--r--core/src/ch/asynk/rustanddust/screens/MenuScreen.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/PathBuilder.java b/core/src/ch/asynk/rustanddust/engine/PathBuilder.java
index 35eb997..cae1d94 100644
--- a/core/src/ch/asynk/rustanddust/engine/PathBuilder.java
+++ b/core/src/ch/asynk/rustanddust/engine/PathBuilder.java
@@ -115,8 +115,8 @@ public class PathBuilder implements Disposable
} else {
this.distance = board.distance(from, to);
findAllPaths(from, pawn.getMovementPoints(), 0, true);
- for (Tile t : objectives)
- toggleCtrlTile(t, false);
+ // for (Tile t : objectives)
+ // toggleCtrlTile(t, false);
}
// printToErr("paths", paths);
diff --git a/core/src/ch/asynk/rustanddust/screens/MenuScreen.java b/core/src/ch/asynk/rustanddust/screens/MenuScreen.java
index b89a904..e90d0ad 100644
--- a/core/src/ch/asynk/rustanddust/screens/MenuScreen.java
+++ b/core/src/ch/asynk/rustanddust/screens/MenuScreen.java
@@ -77,7 +77,7 @@ public class MenuScreen implements Screen
this.geFlag = new Sprite(game.getUiRegion(game.UI_GE_FLAG));
this.versionLabel = new Label(game.font);
- this.versionLabel.write("v25");
+ this.versionLabel.write("v26");
this.ctrl = new MenuCtrl(game);
Gdx.input.setInputProcessor(new InputAdapter() {