hexs_range: Hexs in range for unit

Description Usage Arguments Value Examples

Description

Return a vector of hexs which are in range of unit

Usage

1
hexs_range(hex_id, range_min, range_max, dist_matrix_data)

Arguments

hex_id

id of hex where there is a unit

range_min

minimum range of the unit

range_max

maximum range of the unit

dist_matrix_data

distance matrix

Value

Vector with IDs of hexs which are in range of unit

Examples

1
hexs_range(hex_id = "ID8", range_min = 1, range_max = 5, dist_matrix_data = dist_matrix)

lwawrowski/combat documentation built on June 14, 2019, 3:23 p.m.