saveLevel (#69)
All checks were successful
continuous-integration/drone/push Build is passing
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:
@ -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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user