aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/sowgro/npehero/editor/NotesEditor.java
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2024-07-28 01:07:41 -0400
committersowgro <tpoke.ferrari@gmail.com>2024-07-28 01:07:41 -0400
commit0ce09f72f4af26412356b9699d402b52dbcfc94f (patch)
treeb01b94b1b80d1f3fc5aea559b3718024b79cfe91 /src/main/java/net/sowgro/npehero/editor/NotesEditor.java
parentd04c277edff957d14b6261dd38da43c18b7ba189 (diff)
downloadNPEhero-0ce09f72f4af26412356b9699d402b52dbcfc94f.tar.gz
NPEhero-0ce09f72f4af26412356b9699d402b52dbcfc94f.tar.bz2
NPEhero-0ce09f72f4af26412356b9699d402b52dbcfc94f.zip
Finalize level API and new Json library
Diffstat (limited to 'src/main/java/net/sowgro/npehero/editor/NotesEditor.java')
-rwxr-xr-xsrc/main/java/net/sowgro/npehero/editor/NotesEditor.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/net/sowgro/npehero/editor/NotesEditor.java b/src/main/java/net/sowgro/npehero/editor/NotesEditor.java
index 133330f..da5af33 100755
--- a/src/main/java/net/sowgro/npehero/editor/NotesEditor.java
+++ b/src/main/java/net/sowgro/npehero/editor/NotesEditor.java
@@ -16,7 +16,7 @@ import javafx.scene.control.Button;
import javafx.scene.layout.VBox;
import javafx.scene.text.Text;
import net.sowgro.npehero.main.Control;
-import net.sowgro.npehero.main.Difficulty;
+import net.sowgro.npehero.levelapi.Difficulty;
import net.sowgro.npehero.main.Page;
import net.sowgro.npehero.main.Sound;
@@ -64,11 +64,11 @@ public class NotesEditor extends Page
content.getChildren().add(centerBox);
content.setAlignment(Pos.CENTER);
- try {
- writer = new PrintWriter(diff.notes.getFile(), "UTF-8");
- } catch (FileNotFoundException | UnsupportedEncodingException e) {
- throw new RuntimeException(e);
- }
+// try {
+// writer = new PrintWriter(diff.notes.getFile(), "UTF-8");
+// } catch (FileNotFoundException | UnsupportedEncodingException e) {
+// throw new RuntimeException(e);
+// }
Scene scene = Driver.primaryStage.getScene();
scene.addEventFilter(KeyEvent.KEY_PRESSED, e -> {