소스 검색

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);
     }