removing smap from the console
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d52d1cab77
commit
621be3af64
@ -30,7 +30,6 @@ public class MenuAccueil extends StackPane {
|
||||
Label Title = new Label("Welcome to Road to Master");
|
||||
SlctDifficulty.setOnAction(event -> {
|
||||
String choosediff = SlctDifficulty.getSelectionModel().getSelectedItem();
|
||||
System.out.println(choosediff);
|
||||
switch (choosediff) {
|
||||
case "Easy":
|
||||
try {
|
||||
|
@ -69,7 +69,6 @@ public class MenuLevel extends GridPane {
|
||||
levelButton.setOnAction(event -> {
|
||||
try {
|
||||
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())));
|
||||
Controller.switchRoot(level);
|
||||
} catch (IOException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user