pub fn populate_blocked(&mut self) {
        for (i, tile) in self.tiles.iter_mut().enumerate() {
            self.blocked_tiles[i] = *tile == TileType::Wall;
        }
    }
/// "sets blocked for a tile to true if its a wall, false otherwise"
"sets blocked for a tile to true if its a wall, false otherwise"
" sets blocked for a tile to true if its a wall false otherwise "
pub fn populate_blocked(&mut self) {
        for (i, tile) in self.tiles.iter_mut().enumerate() {
            self.blocked_tiles[i] = *tile == TileType::Wall;
        }
    }
pub fn populate_blocked ( & mut self ) { for ( i , tile ) in self . tiles . iter_mut ( ) . enumerate ( ) { self . blocked_tiles [ i ] = * tile == TileType :: Wall ; } }
"sets blocked for a tile to true if its a wall, false otherwise"
" sets blocked for a tile to true if its a wall false otherwise "
&mut self
&mut self