From 9960152dd898af1129cf183762c1297b7d5aa41d Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Mon, 3 Dec 2018 02:11:52 +0100 Subject: Update ActorInfo --- src/subconscious/graphics/WorldScene.java | 2 +- 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 -- cgit v1.2.1