aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditOffsetPointSet.java
diff options
context:
space:
mode:
authorsyeyoung <42869671+cyoung06@users.noreply.github.com>2020-11-26 15:29:13 +0900
committersyeyoung <42869671+cyoung06@users.noreply.github.com>2020-11-26 15:29:13 +0900
commitf1a9ef20465071fd32d662edc22e4dc228ba28aa (patch)
tree1143ef1f501e2be6d582646dca0ed5115b5893b4 /src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditOffsetPointSet.java
parent282a946c40e8678f13d4998aedd1f4065143a7c7 (diff)
downloadSkyblock-Dungeons-Guide-f1a9ef20465071fd32d662edc22e4dc228ba28aa.tar.gz
Skyblock-Dungeons-Guide-f1a9ef20465071fd32d662edc22e4dc228ba28aa.tar.bz2
Skyblock-Dungeons-Guide-f1a9ef20465071fd32d662edc22e4dc228ba28aa.zip
set edit stuff
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditOffsetPointSet.java')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditOffsetPointSet.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditOffsetPointSet.java b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditOffsetPointSet.java
index b8d9feb8..58229623 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditOffsetPointSet.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditOffsetPointSet.java
@@ -8,6 +8,7 @@ import kr.syeyoung.dungeonsguide.roomedit.Parameter;
import kr.syeyoung.dungeonsguide.roomedit.elements.MButton;
import kr.syeyoung.dungeonsguide.roomedit.elements.MOffsetPoint;
import kr.syeyoung.dungeonsguide.roomedit.elements.MParameter;
+import kr.syeyoung.dungeonsguide.roomedit.gui.GuiDungeonAddSet;
import kr.syeyoung.dungeonsguide.utils.RenderUtils;
import lombok.Getter;
import net.minecraft.client.Minecraft;
@@ -119,7 +120,7 @@ public class ValueEditOffsetPointSet extends MPanel implements ValueEdit<OffsetP
addSet.setOnActionPerformed(new Runnable() {
@Override
public void run() {
- //open gui
+ EditingContext.getEditingContext().openGui(new GuiDungeonAddSet(ValueEditOffsetPointSet.this));
}
});
add(add);
@@ -154,6 +155,9 @@ public class ValueEditOffsetPointSet extends MPanel implements ValueEdit<OffsetP
this.setBounds(new Rectangle(0,0,parentWidth, parentHeight));
}
+ public void addAll(List<OffsetPoint> blockPoses) {
+ }
+
public static class Generator implements ValueEditCreator<ValueEditOffsetPointSet> {
@Override