diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2020-06-08 23:10:00 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2020-06-08 23:10:00 +0200 |
commit | 03910af56d0dd6f49c9c911e7f89dae3665577ab (patch) | |
tree | f00a4ee4741a757c1d915679374c3cfd6cd40f07 /core/src/ch/asynk | |
parent | f7be4d9492ef6a6c033cb1a5b6738bf57a038db2 (diff) | |
download | gdx-boardgame-03910af56d0dd6f49c9c911e7f89dae3665577ab.zip gdx-boardgame-03910af56d0dd6f49c9c911e7f89dae3665577ab.tar.gz |
Tile : add disableOverlays()
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/Tile.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/Tile.java b/core/src/ch/asynk/gdx/boardgame/Tile.java index 37a6972..eb491a3 100644 --- a/core/src/ch/asynk/gdx/boardgame/Tile.java +++ b/core/src/ch/asynk/gdx/boardgame/Tile.java @@ -67,6 +67,11 @@ public class Tile implements Drawable this.overlays.centerOn(cx, cy); } + public void disableOverlays() + { + overlays.disableAll(); + } + public void enableOverlay(int i, boolean enable) { if (overlays != null) { |