initial display first
This commit is contained in:
parent
ab467ea11e
commit
45f1121619
|
|
@ -16,6 +16,7 @@ public class Main {
|
|||
|
||||
// launches graphical interface :
|
||||
MyInterface mjf = new MyInterface();
|
||||
mjf.introduction();
|
||||
mjf.setVisible(true);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -174,7 +174,6 @@ public class MyInterface extends JFrame {
|
|||
|
||||
public void clicButtonStart() {
|
||||
this.instantiateSimu();
|
||||
int introduction = introduction();
|
||||
int depth = askDifficulty();
|
||||
int time = askTime();
|
||||
game.setAutoPlayerDepth(depth);
|
||||
|
|
@ -345,7 +344,7 @@ public class MyInterface extends JFrame {
|
|||
default: return 600; // 10 min
|
||||
}
|
||||
}
|
||||
private int introduction() {
|
||||
public int introduction() {
|
||||
|
||||
int boardWidth = 600;
|
||||
int boardHeight = 600;
|
||||
|
|
|
|||
Loading…
Reference in New Issue