Fucking much stuff done.
This commit is contained in:
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -30,7 +30,6 @@ public class ArrayParser {
|
|||||||
|
|
||||||
int index = 0;
|
int index = 0;
|
||||||
for (int y = 0; y < erg.length; y++) {
|
for (int y = 0; y < erg.length; y++) {
|
||||||
System.out.println(erg[y].length);
|
|
||||||
for (int x = 0; x < erg.length; x++) {
|
for (int x = 0; x < erg.length; x++) {
|
||||||
erg[y][x] = ints.get(index) == 1;
|
erg[y][x] = ints.get(index) == 1;
|
||||||
index++;
|
index++;
|
||||||
|
|||||||
@@ -413,8 +413,6 @@ public class ControlWindow extends GUI {
|
|||||||
if (e.getKeyCode() == KeyEvent.VK_ENTER) {
|
if (e.getKeyCode() == KeyEvent.VK_ENTER) {
|
||||||
if (checkName(saveGrid.getText() ) && getAllGrids().size() < 10) {
|
if (checkName(saveGrid.getText() ) && getAllGrids().size() < 10) {
|
||||||
saveGridInDB(saveGrid.getText());
|
saveGridInDB(saveGrid.getText());
|
||||||
} else {
|
|
||||||
System.out.println("Vergeben");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
saveGrid.setText("");
|
saveGrid.setText("");
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ public class GameWindow extends GUI {
|
|||||||
@Override
|
@Override
|
||||||
public void windowClosing(WindowEvent e) {
|
public void windowClosing(WindowEvent e) {
|
||||||
super.windowClosing(e);
|
super.windowClosing(e);
|
||||||
|
|
||||||
if (control.getControlWindow() != null){
|
if (control.getControlWindow() != null){
|
||||||
control.getControlWindow().dispose();
|
control.getControlWindow().dispose();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user