diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2018-10-18 19:57:39 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2018-10-18 19:57:39 +0200 |
commit | 07f901d3de16d25dcd8d21f205ba891e7fa337b0 (patch) | |
tree | 6ae5124217cffbb2aa7a48ac9fd84347bb0d52ef /core/src/ch/asynk/gdx | |
parent | 2420e7a8cb388a36094ce846760fa3a18bab2699 (diff) | |
download | gdx-boardgame-07f901d3de16d25dcd8d21f205ba891e7fa337b0.zip gdx-boardgame-07f901d3de16d25dcd8d21f205ba891e7fa337b0.tar.gz |
Path : set to = null, when end is reached
Diffstat (limited to 'core/src/ch/asynk/gdx')
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/Path.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/Path.java b/core/src/ch/asynk/gdx/boardgame/Path.java index 97aaabe..47ea039 100644 --- a/core/src/ch/asynk/gdx/boardgame/Path.java +++ b/core/src/ch/asynk/gdx/boardgame/Path.java @@ -94,6 +94,7 @@ public class Path extends IterableArray<Tile> implements Disposable, Pool.Poolab } return false; } + to = null; return true; } } |