jar hinzugefügt
parent
0bb77d4ac3
commit
3b3a465e1c
Binary file not shown.
BIN
bin/Game.class
BIN
bin/Game.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -451,6 +451,7 @@ public class Game {
|
||||||
if (empty) {
|
if (empty) {
|
||||||
fpsLabel.setText("YOU WON");
|
fpsLabel.setText("YOU WON");
|
||||||
delay(5000);
|
delay(5000);
|
||||||
|
player.lives = 0;
|
||||||
// HIER DEN HIGHSCORE IMPLEMENTIEREN
|
// HIER DEN HIGHSCORE IMPLEMENTIEREN
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,7 @@ public class MapMenu extends JFrame {
|
||||||
maps[i] = maps[i].substring(0, maps[i].length() - 4);
|
maps[i] = maps[i].substring(0, maps[i].length() - 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||||
this.setVisible(true);
|
this.setVisible(true);
|
||||||
this.setBounds(750, 300, 300, 200);
|
this.setBounds(750, 300, 300, 200);
|
||||||
this.setResizable(false); // Man kann die Größe des Frame nicht verändern
|
this.setResizable(false); // Man kann die Größe des Frame nicht verändern
|
||||||
|
|
Loading…
Reference in New Issue