summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/gdx
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-05-31 23:12:59 +0200
committerGitHub <noreply@github.com>2020-05-31 23:12:59 +0200
commit4dca631629e49b12d44cfbf6682519ea8a7afb0e (patch)
treed56e45533703f5795e7d952de74ae496167a427e /core/src/ch/asynk/gdx
parent8c326d784dca5171a35c701218f9fc0c0cc2b231 (diff)
parent7881f3a09c686aecc9485d94fec24dc851250f83 (diff)
downloadgdx-boardgame-4dca631629e49b12d44cfbf6682519ea8a7afb0e.zip
gdx-boardgame-4dca631629e49b12d44cfbf6682519ea8a7afb0e.tar.gz
Merge pull request #15 from SimonIT/get-direction
Getter for direction
Diffstat (limited to 'core/src/ch/asynk/gdx')
-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;