Skip to main content

strike_area

Function strike_area 

Source
pub fn strike_area(stops: &TileSet, ranges: &Ranges) -> TileSet
Expand description

The tiles a piece that can stop on stops strikes with ranges: every tile of the set’s grid within one of ranges of a stop tile, and the stop tiles themselves when ranges is not empty. Empty ranges strike nothing. See the module docs for the cost.