Merge branch 'master' of https://gitlab.istic.univ-rennes1.fr/fautin/jeu-de-combat.git
This commit is contained in:
commit
9dc820b35a
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
|||||||
/bin/
|
/bin/
|
||||||
/.idea/
|
/.idea/
|
||||||
/jeu-de-combat.iml
|
/jeu-de-combat.iml
|
||||||
|
/game.set
|
1
game.set
1
game.set
@ -1 +0,0 @@
|
|||||||
{"game":[{"character2":"ken","character1":"ryu","fullscreen":"true","stage":"default","width":"1920","rounds":"5","height":"1080"}]}
|
|
@ -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