This commit is contained in:
Llywelwyn 2023-07-21 13:06:39 +01:00
parent a3b4688608
commit d1f36499c2
16 changed files with 286 additions and 88 deletions

View file

@ -3,9 +3,9 @@ use super::{
Map, MapBuilder, Position, TileType, SHOW_MAPGEN,
};
use rltk::RandomNumberGenerator;
use specs::prelude::*;
use std::collections::HashMap;
#[allow(dead_code)]
#[derive(PartialEq, Copy, Clone)]
pub enum DLAAlgorithm {
WalkInwards,
@ -55,6 +55,7 @@ impl MapBuilder for DLABuilder {
}
}
#[allow(dead_code)]
impl DLABuilder {
pub fn walk_inwards(new_depth: i32) -> DLABuilder {
DLABuilder {