aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt
diff options
context:
space:
mode:
authorBryson Steck <brysonsteck@protonmail.com>2023-05-14 13:44:35 -0600
committerBryson Steck <brysonsteck@protonmail.com>2023-05-14 13:44:35 -0600
commit13c4c1cfc0f2ddcf53a9b2e4a1a516b795adb4f6 (patch)
treea2123bcd4e09107e7e1a79428e16c54474940a97 /app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt
parent8fbd006b494ce4c6ab284d9eeab8692195984151 (diff)
downloadServerCraft-13c4c1cfc0f2ddcf53a9b2e4a1a516b795adb4f6.tar
ServerCraft-13c4c1cfc0f2ddcf53a9b2e4a1a516b795adb4f6.tar.gz
ServerCraft-13c4c1cfc0f2ddcf53a9b2e4a1a516b795adb4f6.tar.bz2
complete rename to ServerCraft
Diffstat (limited to 'app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt')
-rw-r--r--app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt34
1 files changed, 0 insertions, 34 deletions
diff --git a/app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt b/app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt
deleted file mode 100644
index 3ff7c46..0000000
--- a/app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * This Kotlin source file was generated by the Gradle 'init' task.
- */
-package xyz.brysonsteck.serverfordummies
-
-import javafx.application.Application;
-import javafx.fxml.FXMLLoader;
-import javafx.scene.Parent;
-import javafx.scene.Scene;
-import javafx.scene.image.Image
-import javafx.stage.Stage;
-import java.awt.Desktop;
-
-class App : Application() {
-
- override fun start(stage: Stage) {
- var scene = Scene(loadFXML("primary"), 963.0, 713.0)
- stage.icons.add(Image(this.javaClass.getResourceAsStream("app.png")))
- stage.setResizable(false)
- stage.title = "Server For Dummies"
- stage.scene = scene
- stage.show()
- }
-
- public fun loadFXML(fxml: String) : Parent {
- val fxmlLoader = FXMLLoader(this.javaClass.getResource(fxml + ".fxml"))
- return fxmlLoader.load()
- }
-
- public fun run() {
- launch()
- }
-
-}