pub trait GridGenetator<T: Copy> {
// Required method
fn generate(
&mut self,
location: Vec2<usize>,
size: Vec2<usize>,
current: T,
grid: &Grid<T>,
) -> T;
}
pub trait GridGenetator<T: Copy> {
// Required method
fn generate(
&mut self,
location: Vec2<usize>,
size: Vec2<usize>,
current: T,
grid: &Grid<T>,
) -> T;
}