Companion
object Companion
Functions
Link copied to clipboard
returns CoordinateComponent from the given index.
Link copied to clipboard
fun mapToRecipeMap(source: Map<CMatter, Set<CoordinateComponent>>): Map<CoordinateComponent, CMatter>
Returns CoordinateComponent and CMatter map from map
Link copied to clipboard
fun recipeMapFromStringList(lines: List<String>, map: Map<String, CMatter>): Map<CoordinateComponent, CMatter>
Returns CoordinateComponent and CMatter map from comma separated string and a map.
Link copied to clipboard
returns specified size square frame coordinates set.
Link copied to clipboard
fun squareFill(size: Int, dx: Int = 0, dy: Int = 0, safeTrim: Boolean = true): Set<CoordinateComponent>
returns specified size square coordinates set.