This commit is contained in:
Léo 2021-06-10 15:47:32 +02:00
commit 9dc820b35a
5 changed files with 4 additions and 7 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/bin/
/.idea/
/jeu-de-combat.iml
/game.set

View File

@ -1 +0,0 @@
{"game":[{"character2":"ken","character1":"ryu","fullscreen":"true","stage":"default","width":"1920","rounds":"5","height":"1080"}]}

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;