浏览代码

Besseres Menu, Speichern und laden von Games

Jan 7 月之前
父节点
当前提交
304f17181f
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      src/main/java/view/tile/interactive/Hut.java

+ 2 - 3
src/main/java/view/tile/interactive/Hut.java

@@ -12,9 +12,8 @@ public class Hut extends InteractiveTile{
     Graphics2D g2;
 
     public Hut(GameController gc) {
-        super(height, width, xCoordinate, yCoordinate, () -> {;
-            // Action to perform when the hut is clicked
-            //System.out.println("CLICKED HUT");
+        super(height, width, xCoordinate, yCoordinate, () -> {
+            System.out.println("CLICKED HUT");
             //PopUpTile popUpTile = new PopUpTile(g2, xCoordinate, yCoordinate, width, height);
         }, gc);
     }