diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2020-06-09 07:14:43 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2020-06-09 07:14:43 +0200 |
commit | 3eef4dae35c7b939c2c8ede377f6274b6a67d81c (patch) | |
tree | 5fc21d8f4a2688c5ebc6e78b10cbfbea8dabd978 /core/src/ch/asynk/gdx/boardgame/Piece.java | |
parent | 0676f408a404c7afef27225dd81b6a8c952c4a98 (diff) | |
download | gdx-boardgame-3eef4dae35c7b939c2c8ede377f6274b6a67d81c.zip gdx-boardgame-3eef4dae35c7b939c2c8ede377f6274b6a67d81c.tar.gz |
Piece : add atLeastOneTileMove()
Diffstat (limited to 'core/src/ch/asynk/gdx/boardgame/Piece.java')
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/Piece.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/Piece.java b/core/src/ch/asynk/gdx/boardgame/Piece.java index 6944afc..5f47309 100644 --- a/core/src/ch/asynk/gdx/boardgame/Piece.java +++ b/core/src/ch/asynk/gdx/boardgame/Piece.java @@ -134,4 +134,9 @@ public class Piece implements Drawable, Positionable, Rotable, Scalable // Integer.MAX_VALUE means impracticable return Integer.MAX_VALUE; } + + public boolean atLeastOneTileMove() + { + return true; + } } |