Skip to main content

strike_area_from

Function strike_area_from 

Source
pub fn strike_area_from(
    width: u16,
    height: u16,
    at: Pos,
    ranges: &Ranges,
) -> TileSet
Expand description

The tiles a piece that never moves, standing on at, strikes with ranges on a width × height grid: strike_area with at its only stop. A tile outside the grid strikes nothing.