saveLevel (#69)
All checks were successful
continuous-integration/drone/push Build is passing

Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
Reviewed-on: #69
Reviewed-by: Mat_02 <diletomatteo@gmail.com>
This commit is contained in:
2023-05-18 18:32:16 +02:00
parent ac6c8611e7
commit 4c185f0a81
3 changed files with 24 additions and 1 deletions

View File

@ -12,8 +12,11 @@ public class GameUI extends Group{
public final static int SPACE_SIZE = 5;
private final Vec2 piece_pos_click = new Vec2();
private Map level;
public GameUI(Map level) throws FileNotFoundException {
super();
this.level = level;
MatrixShape grid = new MatrixShape(level);
@ -77,8 +80,11 @@ public class GameUI extends Group{
}
}
});
getChildren().add(_piece);
}
}
public Map getLevel() {
return level;
}
}