Deleted configuration package.
Relocated configuration.Config to launcher.Config.
This commit is contained in:
parent
1f58b184b8
commit
8fc483b7e5
@ -1,4 +1,4 @@
|
||||
package configuration;
|
||||
package launcher;
|
||||
|
||||
import java.io.*;
|
||||
import org.json.simple.*;
|
@ -45,6 +45,7 @@ public class Launcher extends Application {
|
||||
* Start method is used by Launcher as an implementation of the Application class to create a JavaFX thread to display the GUI window
|
||||
*/
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public void start(Stage primaryStage) throws Exception {
|
||||
|
||||
FXMLLoader loader = new FXMLLoader(getClass().getResource("launcher.fxml"));
|
||||
@ -80,6 +81,7 @@ public class Launcher extends Application {
|
||||
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@FXML
|
||||
public void runGame() {
|
||||
try {
|
||||
|
@ -1,12 +1,7 @@
|
||||
package launcher;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.util.HashMap;
|
||||
|
||||
import configuration.*;
|
||||
|
||||
public class Settings {
|
||||
|
||||
private Config config;
|
||||
|
Loading…
x
Reference in New Issue
Block a user