summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimonIT <simonit.orig@gmail.com>2020-05-21 20:38:28 +0200
committerSimonIT <simonit.orig@gmail.com>2020-05-21 20:38:28 +0200
commit7881f3a09c686aecc9485d94fec24dc851250f83 (patch)
treeb50754d1b0ad198530d5c27a83aa73f51455b360
parentdd9e1f7d7c2744f6a67e988d5335e19b08826e30 (diff)
downloadgdx-boardgame-7881f3a09c686aecc9485d94fec24dc851250f83.zip
gdx-boardgame-7881f3a09c686aecc9485d94fec24dc851250f83.tar.gz
Getter for direction
-rw-r--r--core/src/ch/asynk/gdx/boardgame/ui/Container.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/ui/Container.java b/core/src/ch/asynk/gdx/boardgame/ui/Container.java
index a107847..eebbc82 100644
--- a/core/src/ch/asynk/gdx/boardgame/ui/Container.java
+++ b/core/src/ch/asynk/gdx/boardgame/ui/Container.java
@@ -40,6 +40,11 @@ public class Container extends Element
taint();
}
+ public Direction getDirection()
+ {
+ return direction;
+ }
+
public void setDirection(Direction direction)
{
this.direction = direction;