diff options
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/Overlays.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/Overlays.java b/core/src/ch/asynk/gdx/boardgame/Overlays.java index 5746630..9281533 100644 --- a/core/src/ch/asynk/gdx/boardgame/Overlays.java +++ b/core/src/ch/asynk/gdx/boardgame/Overlays.java @@ -93,6 +93,11 @@ public class Overlays implements Drawable, Positionable, Rotable, Scalable } } + public void setRotation(int idx, float rotation) + { + sprites.get(idx).setRotation(rotation); + } + @Override public float getScale() { return sprites.get(0).getScaleX(); |