summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/gdx/boardgame/Path.java
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-01-21 14:13:09 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2020-01-21 14:13:09 +0100
commit1efd76ea8405b52d6a4b23143ad29b123534f974 (patch)
tree34b2e7f6b9cb71f994c11a3d1d73c6b216aed747 /core/src/ch/asynk/gdx/boardgame/Path.java
parent42a64e4e3767dc1b8f1a1cf5db5e10714d221973 (diff)
downloadgdx-boardgame-1efd76ea8405b52d6a4b23143ad29b123534f974.zip
gdx-boardgame-1efd76ea8405b52d6a4b23143ad29b123534f974.tar.gz
Path : add final variable qualifier
Diffstat (limited to 'core/src/ch/asynk/gdx/boardgame/Path.java')
-rw-r--r--core/src/ch/asynk/gdx/boardgame/Path.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/Path.java b/core/src/ch/asynk/gdx/boardgame/Path.java
index a7e1d5e..72745aa 100644
--- a/core/src/ch/asynk/gdx/boardgame/Path.java
+++ b/core/src/ch/asynk/gdx/boardgame/Path.java
@@ -92,7 +92,7 @@ public class Path extends IterableArray<Tile> implements Disposable, Pool.Poolab
// rotation ...
from = to;
next();
- Orientation o = (hasNext() ? Orientation.fromTiles(from, current()) : finalOrientation);
+ final Orientation o = (hasNext() ? Orientation.fromTiles(from, current()) : finalOrientation);
// if already facing, transform into a straight move
if (piece.isFacing(o)) {
to = current();