diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2020-01-21 14:13:09 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2020-01-21 14:13:09 +0100 |
commit | 1efd76ea8405b52d6a4b23143ad29b123534f974 (patch) | |
tree | 34b2e7f6b9cb71f994c11a3d1d73c6b216aed747 /core | |
parent | 42a64e4e3767dc1b8f1a1cf5db5e10714d221973 (diff) | |
download | gdx-boardgame-1efd76ea8405b52d6a4b23143ad29b123534f974.zip gdx-boardgame-1efd76ea8405b52d6a4b23143ad29b123534f974.tar.gz |
Path : add final variable qualifier
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/Path.java | 2 |
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(); |