Observer pattern & Archipelago
This commit is contained in:
@@ -34,12 +34,15 @@ public class World {
|
||||
|
||||
boolean won;
|
||||
|
||||
public World(Game g, String name, GridConfig initConfig, Grid currentGrid, boolean won) {
|
||||
boolean locked;
|
||||
|
||||
public World(Game g, String name, GridConfig initConfig, Grid currentGrid, boolean won, boolean locked) {
|
||||
this.id = new WorldId(g.getId(), name);
|
||||
this.game = g;
|
||||
this.initialConfig = initConfig;
|
||||
this.currentGrid = currentGrid;
|
||||
this.won = won;
|
||||
this.locked = locked;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
|
||||
Reference in New Issue
Block a user