diff options
author | Nao Pross <naopross@thearcway.org> | 2018-12-03 02:11:52 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-12-03 02:11:52 +0100 |
commit | 9960152dd898af1129cf183762c1297b7d5aa41d (patch) | |
tree | d982b00ff0dcdfca60bdf428bbfc620aa6c7d2a1 /src | |
parent | Add widget anchors to place widgets in relative positions (diff) | |
download | Subconscious-java-9960152dd898af1129cf183762c1297b7d5aa41d.tar.gz Subconscious-java-9960152dd898af1129cf183762c1297b7d5aa41d.zip |
Update ActorInfo
Diffstat (limited to 'src')
-rw-r--r-- | src/subconscious/graphics/WorldScene.java | 2 | ||||
-rw-r--r-- | src/subconscious/graphics/widget/ActorInfo.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/subconscious/graphics/WorldScene.java b/src/subconscious/graphics/WorldScene.java index d2ea1db..f23aa06 100644 --- a/src/subconscious/graphics/WorldScene.java +++ b/src/subconscious/graphics/WorldScene.java @@ -22,7 +22,7 @@ public class WorldScene extends MapScene { @Override public void build() { - this.actorInfoWidget = new ActorInfo("actorinfo", 0, 0); + this.actorInfoWidget = new ActorInfo("actorinfo"); this.addWidget(this.actorInfoWidget); } diff --git a/src/subconscious/graphics/widget/ActorInfo.java b/src/subconscious/graphics/widget/ActorInfo.java index 82aecd4..10bba9f 100644 --- a/src/subconscious/graphics/widget/ActorInfo.java +++ b/src/subconscious/graphics/widget/ActorInfo.java @@ -18,8 +18,8 @@ public class ActorInfo extends Widget { protected Actor observingActor = null; - public ActorInfo(String uniqueName, int x, int y) { - super(uniqueName, x, y, ActorInfo.WIDTH, ActorInfo.HEIGHT); + public ActorInfo(String uniqueName) { + super(uniqueName, 0, 0, ActorInfo.WIDTH, ActorInfo.HEIGHT); } @Override |