class Dungeon{
public Monster player = new Monster(new Location(0,0));
public Location current_room = new Location(0,0);
public Room[][] rooms = new Room[5][5];
public Dungeon(){
for(int i = 0; i < this.rooms.length; i++)
for(int j = 0; j < this.rooms[0].length; j++) {
rooms[i][j] = new Room(10,10);
rooms[i][j].setMonsters(
RandomFactory.randomMonsters(10, 10, 10)
);
}
}
}