public DungeonFloor(int size, int difflevel) {
        this.size = size;
        this.difflevel = difflevel;
        tiles = new HashMap<Integer, Tile>();
        entities = new HashMap<Integer, Entity>();
        actors = new HashMap<Integer, Actor>();
        random = new Random();
        min_size = new Point(5, 5);
        for (int x = 0; x < size; x++) {

            for (int y = 0; y < size; y++) {

                tiles.put(x + y * size, Tile.WALL_STONE);//TODO use dungeon themes to pick tile types.

            }
        }
        active = false;
        generated = false;
    }