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 java.io.*;
|
||||||
import org.json.simple.*;
|
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
|
* 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 {
|
public void start(Stage primaryStage) throws Exception {
|
||||||
|
|
||||||
FXMLLoader loader = new FXMLLoader(getClass().getResource("launcher.fxml"));
|
FXMLLoader loader = new FXMLLoader(getClass().getResource("launcher.fxml"));
|
||||||
@ -80,6 +81,7 @@ public class Launcher extends Application {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
@FXML
|
@FXML
|
||||||
public void runGame() {
|
public void runGame() {
|
||||||
try {
|
try {
|
||||||
|
@ -1,12 +1,7 @@
|
|||||||
package launcher;
|
package launcher;
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.io.FileInputStream;
|
|
||||||
import java.io.FileNotFoundException;
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
import configuration.*;
|
|
||||||
|
|
||||||
public class Settings {
|
public class Settings {
|
||||||
|
|
||||||
private Config config;
|
private Config config;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user