allowed

open fun allowed(xp: Double, yp: Double): Boolean(source)

Checks whether a position is allowed or not.

Return

true if the position is allowed

Parameters

xp

the x coordinate

yp

the y coordinate