enum

Jump

Inherits Enum < Comparable < Value < Object

Describes the movement of Knights LONG - The jump starts with two squares and then one over SHORT - The jump starts with one forward and then two over

Constants

LONG = 0
SHORT = 1

Instance methods

long?

Returns true if this enum value equals LONG

Source
short?

Returns true if this enum value equals SHORT

Source