pub fn random(width: usize, height: usize) -> Self {
        //let v = random_tiles(width, height, 1000);
        let mut v = random_maze(width, height);
        random_tiles(width, height, 100, &mut v);
        TileGrid {
            tiles: v,
            width: width,
            height: height,
            size: 32
        }
    }
/// Generates a new TileGrid at random
Generates a new TileGrid at random
Generates a new TileGrid at random
pub fn random(width: usize, height: usize) -> Self {
        //let v = random_tiles(width, height, 1000);
        let mut v = random_maze(width, height);
        random_tiles(width, height, 100, &mut v);
        TileGrid {
            tiles: v,
            width: width,
            height: height,
            size: 32
        }
    }
pub fn random ( width : usize , height : usize ) -> Self { //let v = random_tiles(width, height, 1000); let mut v = random_maze ( width , height ) ; random_tiles ( width , height , 100 , & mut v ) ; TileGrid { tiles : v , width : width , height : height , size : 32 } }
Generates a new TileGrid at random
Generates a new TileGrid at random
width
usize
height
usize
width
usize
height
usize