Przeglądaj źródła

Besseres Menu, Speichern und laden von Games

Jan 7 miesięcy temu
rodzic
commit
304f17181f
1 zmienionych plików z 2 dodań i 3 usunięć
  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);
     }