removing smap from the console
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Debucquoy Anthony 2023-05-19 16:30:02 +02:00
parent d52d1cab77
commit 621be3af64
Signed by: tonitch
GPG Key ID: A78D6421F083D42E
2 changed files with 0 additions and 2 deletions

View File

@ -30,7 +30,6 @@ public class MenuAccueil extends StackPane {
Label Title = new Label("Welcome to Road to Master"); Label Title = new Label("Welcome to Road to Master");
SlctDifficulty.setOnAction(event -> { SlctDifficulty.setOnAction(event -> {
String choosediff = SlctDifficulty.getSelectionModel().getSelectedItem(); String choosediff = SlctDifficulty.getSelectionModel().getSelectedItem();
System.out.println(choosediff);
switch (choosediff) { switch (choosediff) {
case "Easy": case "Easy":
try { try {

View File

@ -69,7 +69,6 @@ public class MenuLevel extends GridPane {
levelButton.setOnAction(event -> { levelButton.setOnAction(event -> {
try { try {
String levelName = ((Button)event.getSource()).getText().replace(" ", "") + ".level"; String levelName = ((Button)event.getSource()).getText().replace(" ", "") + ".level";
System.out.println(levelName);
GameUI level = new GameUI(FileParserFactory.loadMapFromFile(new File(Controller.class.getResource("levels/" + levelName).getFile()))); GameUI level = new GameUI(FileParserFactory.loadMapFromFile(new File(Controller.class.getResource("levels/" + levelName).getFile())));
Controller.switchRoot(level); Controller.switchRoot(level);
} catch (IOException e) { } catch (IOException e) {