Neues GUI und icons
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
package game;
|
||||
|
||||
import gui.GUI;
|
||||
|
||||
public class Control {
|
||||
|
||||
private GUI gui;
|
||||
|
||||
private int xSize, ySize, cellCount;
|
||||
|
||||
public Control(){
|
||||
|
||||
gui = new GUI(this);
|
||||
|
||||
gui.buildControlWindow();
|
||||
|
||||
}
|
||||
|
||||
public void buildGameWindow(int xSize, int ySize, int cellCount){
|
||||
this.xSize = xSize;
|
||||
this.ySize = ySize;
|
||||
this.cellCount = cellCount;
|
||||
|
||||
|
||||
gui.buildGameWindow();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user