pub fn cell_cardinal_neighbor(
        &self,
        coord: TileGridCoord,
        direction: CartesianDirection,
    ) -> Option<TileCell> {
        let neighbor_point = self.cell_cardinal_neighbor_coords(coord, direction)?;
        Some(self.cell_value(neighbor_point))
    }
/// Neighbor accessible via cardinal direction walk
Neighbor accessible via cardinal direction walk
Neighbor accessible via cardinal direction walk
pub fn cell_cardinal_neighbor(
        &self,
        coord: TileGridCoord,
        direction: CartesianDirection,
    ) -> Option<TileCell> {
        let neighbor_point = self.cell_cardinal_neighbor_coords(coord, direction)?;
        Some(self.cell_value(neighbor_point))
    }
pub fn cell_cardinal_neighbor ( & self , coord : TileGridCoord , direction : CartesianDirection , ) -> Option < TileCell > { let neighbor_point = self . cell_cardinal_neighbor_coords ( coord , direction ) ? ; Some ( self . cell_value ( neighbor_point ) ) }
Neighbor accessible via cardinal direction walk
Neighbor accessible via cardinal direction walk
&self
coord
TileGridCoord
direction
CartesianDirection