diff options
| author | SimonIT <simonit.orig@gmail.com> | 2019-12-18 09:27:39 +0100 | 
|---|---|---|
| committer | SimonIT <simonit.orig@gmail.com> | 2019-12-18 09:27:39 +0100 | 
| commit | 9b8ee4ab68fe676dd9752907b950f3514332a520 (patch) | |
| tree | 0b1bfbc31f2c8c86335fed250a01da5a76351859 /core/src/ch | |
| parent | 11e02bbeefee419ce722516dfd0a24cf2be47e14 (diff) | |
| download | gdx-boardgame-9b8ee4ab68fe676dd9752907b950f3514332a520.zip gdx-boardgame-9b8ee4ab68fe676dd9752907b950f3514332a520.tar.gz | |
possibility to change the font of a label
Diffstat (limited to 'core/src/ch')
| -rw-r--r-- | core/src/ch/asynk/gdx/boardgame/ui/Label.java | 5 | 
1 files changed, 5 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..5b1962c 100644 --- a/core/src/ch/asynk/gdx/boardgame/ui/Label.java +++ b/core/src/ch/asynk/gdx/boardgame/ui/Label.java @@ -31,6 +31,11 @@ public class Label extends Element          this.layout = new GlyphLayout();      } +    public void setFont(BitmapFont font) +    { +        this.font = font; +    } +      public String getText()      {          return text; | 
