pub trait Algorithm<C: Cell = Tile> {
// Required methods
fn generate(&self, grid: &mut Grid<C>, seed: u64);
fn name(&self) -> &'static str;
}Expand description
Trait for procedural generation algorithms
pub trait Algorithm<C: Cell = Tile> {
// Required methods
fn generate(&self, grid: &mut Grid<C>, seed: u64);
fn name(&self) -> &'static str;
}Trait for procedural generation algorithms