hasValue

fun hasValue(cx: Int, cy: Int, value: Int? = null): Boolean

Return

true if there is any value at selected coordinates.

Parameters

cx

grid x coord

cy

grid y coord

value

optional parameter allows to check for a specific integer value