summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/ch/asynk/gdx/boardgame/ui/Label.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/ui/Label.java b/core/src/ch/asynk/gdx/boardgame/ui/Label.java
index 2d1e6d4..dcae8f0 100644
--- a/core/src/ch/asynk/gdx/boardgame/ui/Label.java
+++ b/core/src/ch/asynk/gdx/boardgame/ui/Label.java
@@ -31,6 +31,12 @@ public class Label extends Element
this.layout = new GlyphLayout();
}
+ public void setFont(BitmapFont font)
+ {
+ this.font = font;
+ taint();
+ }
+
public String getText()
{
return text;