summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/subconscious/graphics/WorldScene.java2
-rw-r--r--src/subconscious/graphics/widget/ActorInfo.java4
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