summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-06-08 23:10:00 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2020-06-08 23:10:00 +0200
commit03910af56d0dd6f49c9c911e7f89dae3665577ab (patch)
treef00a4ee4741a757c1d915679374c3cfd6cd40f07 /core/src/ch/asynk
parentf7be4d9492ef6a6c033cb1a5b6738bf57a038db2 (diff)
downloadgdx-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.java5
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) {