Deleted configuration package.

Relocated configuration.Config to launcher.Config.
This commit is contained in:
François Autin 2021-06-10 15:41:39 +02:00
parent 1f58b184b8
commit 8fc483b7e5
No known key found for this signature in database
GPG Key ID: 24025429AC559B7C
3 changed files with 3 additions and 6 deletions

View File

@ -1,4 +1,4 @@
package configuration;
package launcher;
import java.io.*;
import org.json.simple.*;

View File

@ -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 {

View File

@ -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;