diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2019-12-17 11:28:50 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2019-12-17 11:28:50 +0100 |
commit | e868bcd276ca812feed08e01a8c4400f6c228408 (patch) | |
tree | 15f632e0248243ac138db5a69241147bd388a210 /core/src | |
parent | 8b56905abb7db5d545dcd3fabc471f0e89cdb9a0 (diff) | |
download | gdx-boardgame-e868bcd276ca812feed08e01a8c4400f6c228408.zip gdx-boardgame-e868bcd276ca812feed08e01a8c4400f6c228408.tar.gz |
Assembly : taint must taint itself and the children
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/ui/Assembly.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/ui/Assembly.java b/core/src/ch/asynk/gdx/boardgame/ui/Assembly.java index b2b1e28..7cc92b8 100644 --- a/core/src/ch/asynk/gdx/boardgame/ui/Assembly.java +++ b/core/src/ch/asynk/gdx/boardgame/ui/Assembly.java @@ -47,6 +47,7 @@ public abstract class Assembly extends Element @Override public void taint() { + tainted = true; children.forEach( c -> c.taint() ); } |