summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/gdx/boardgame
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/gdx/boardgame')
-rw-r--r--core/src/ch/asynk/gdx/boardgame/Overlays.java5
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();