diff options
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/Piece.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/Piece.java b/core/src/ch/asynk/gdx/boardgame/Piece.java index 960be1a..47174fd 100644 --- a/core/src/ch/asynk/gdx/boardgame/Piece.java +++ b/core/src/ch/asynk/gdx/boardgame/Piece.java @@ -25,6 +25,11 @@ public class Piece implements Drawable, Positionable, Rotable, Scalable public Piece(Texture texture) { + setHead(texture); + } + + public void setHead(Texture texture) + { head = new Sprite(texture); } |