vaults
This commit is contained in:
parent
a3b4688608
commit
d1f36499c2
16 changed files with 286 additions and 88 deletions
|
|
@ -3,7 +3,6 @@ use super::{
|
|||
Position, TileType, SHOW_MAPGEN,
|
||||
};
|
||||
use rltk::RandomNumberGenerator;
|
||||
use specs::prelude::*;
|
||||
use std::collections::HashMap;
|
||||
|
||||
pub struct MazeBuilder {
|
||||
|
|
@ -45,6 +44,7 @@ impl MapBuilder for MazeBuilder {
|
|||
}
|
||||
|
||||
impl MazeBuilder {
|
||||
#[allow(dead_code)]
|
||||
pub fn new(new_depth: i32) -> MazeBuilder {
|
||||
MazeBuilder {
|
||||
map: Map::new(new_depth),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue