MapFilter

Trait MapFilter 

Source
pub trait MapFilter<D: Clone + Default> {
    // Required method
    fn modify_map(&self, rng: &mut StdRng, map: &Map<D>) -> Map<D>;
}
Expand description

Trait which should be implemented by map modifier. Modifier takes initiall map and apply changes to it.

Required Methods§

Source

fn modify_map(&self, rng: &mut StdRng, map: &Map<D>) -> Map<D>

Implementors§