diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2024-07-28 01:07:41 -0400 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2024-07-28 01:07:41 -0400 |
commit | 0ce09f72f4af26412356b9699d402b52dbcfc94f (patch) | |
tree | b01b94b1b80d1f3fc5aea559b3718024b79cfe91 /src/main/java/net/sowgro/npehero/editor/NotesEditor.java | |
parent | d04c277edff957d14b6261dd38da43c18b7ba189 (diff) | |
download | NPEhero-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-x | src/main/java/net/sowgro/npehero/editor/NotesEditor.java | 12 |
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 -> { |