SqStepNearOpt

sealed trait SqStepNearOpt extends SqStepOpt

An non-diagonal optional square tile step. Can take 5 values. Represents the relative move from a square tile to one of its non-diagonal 4 neighbours or the non move SqStepNone value.

trait SqStepOpt
class Object
trait Matchable
class Any
object SqStepDown
object SqStepLeft
object SqStepUp
object SqStepNone

Value members

Inherited methods

def c: Int

Column coordinate delta

Column coordinate delta

Inherited from
TileStepOpt
def r: Int

Row coordinate delta.

Row coordinate delta.

Inherited from
TileStepOpt