Commit a69ae4b1 authored by Lucas Delcros's avatar Lucas Delcros
Browse files

removed unussed imports

parent e390b892
......@@ -2,7 +2,6 @@ package map_generation.map;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.NoSuchElementException;
import java.util.Random;
......
......@@ -26,7 +26,6 @@ public final class MapBuilder implements Serializable{
private ArrayList<Surface> doors;
private ArrayList<Entity> entities;
private RoomTree roomTree;
private RoomBuilder start;
private MapPoint positionPlayerAtStart;
private MapPoint stairsPosition;
private int height = 0, width = 0, maxEntities = -1;
......@@ -40,7 +39,6 @@ public final class MapBuilder implements Serializable{
public void addRooms(RoomBuilder[] rooms, RoomBuilder start){
this.rooms = new ArrayList<RoomBuilder>(Arrays.asList(rooms));
roomTree = new RoomTree(start, this.rooms);
this.start = start;
}
public void addCorridor(Surface corridor, RoomBuilder room1, RoomBuilder room2){
......
package map_generation.map;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
import map_generation.map.RoomBuilder.RoomType;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment