From 3cc57a96a3ba4c512c006516fc9a8f5374f8198e Mon Sep 17 00:00:00 2001 From: syeyoung Date: Wed, 11 Aug 2021 16:24:46 +0900 Subject: - New room (Lava-pool-3) --- .../dungeonsguide/roomedit/panes/ProcessorParameterEditPane.java | 3 +++ .../java/kr/syeyoung/dungeonsguide/roomedit/panes/SecretEditPane.java | 3 +++ 2 files changed, 6 insertions(+) (limited to 'src/main/java/kr/syeyoung/dungeonsguide/roomedit') diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/panes/ProcessorParameterEditPane.java b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/panes/ProcessorParameterEditPane.java index 7b0aa34d..d719185d 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/panes/ProcessorParameterEditPane.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/panes/ProcessorParameterEditPane.java @@ -56,6 +56,7 @@ public class ProcessorParameterEditPane extends MPanel implements DynamicEditor public void run() { MParameter parameter; parameters.add(parameter = new MParameter(new Parameter(UUID.randomUUID().toString(), null, null), ProcessorParameterEditPane.this)); + parameter.setParent(ProcessorParameterEditPane.this); parameter.setBounds(new Rectangle(0,0,getBounds().width, 20)); } }); @@ -80,6 +81,7 @@ public class ProcessorParameterEditPane extends MPanel implements DynamicEditor } } }); + create.setParent(this); save.setParent(this); } { for (Map.Entry en : dungeonRoom.getDungeonRoomInfo().getProperties().entrySet()) { @@ -88,6 +90,7 @@ public class ProcessorParameterEditPane extends MPanel implements DynamicEditor MParameter mParameter = new MParameter(new Parameter(en.getKey(), vec.cloneObj(en.getValue()), vec.cloneObj(en.getValue())), this); mParameter.setBounds(new Rectangle(0,0,getBounds().width,20)); parameters.add(mParameter); + mParameter.setParent(this); } } } diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/panes/SecretEditPane.java b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/panes/SecretEditPane.java index 15ef2c05..70b3e381 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/panes/SecretEditPane.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/panes/SecretEditPane.java @@ -58,6 +58,7 @@ public class SecretEditPane extends MPanel implements DynamicEditor { MParameter parameter; parameters.add(parameter = new MParameter(new Parameter(uid, data, data), SecretEditPane.this)); parameter.setBounds(new Rectangle(0,0,getBounds().width, 20)); + parameter.setParent(SecretEditPane.this); } public void buildElements() { @@ -93,6 +94,7 @@ public class SecretEditPane extends MPanel implements DynamicEditor { } } }); + create.setParent(this); save.setParent(this); } { for (Map.Entry en : dungeonRoom.getDungeonRoomInfo().getMechanics().entrySet()) { @@ -101,6 +103,7 @@ public class SecretEditPane extends MPanel implements DynamicEditor { MParameter mParameter = new MParameter(new Parameter(en.getKey(), vec.cloneObj(en.getValue()), vec.cloneObj(en.getValue())), this); mParameter.setBounds(new Rectangle(0,0,getBounds().width,20)); parameters.add(mParameter); + mParameter.setParent(this); } } } -- cgit