Package at.jku.ssw.fp.sect04_3.puzzle
Class Move
- java.lang.Object
-
- at.jku.ssw.fp.sect04_3.puzzle.Move
-
public final class Move extends Object
A move in a puzzle game.- Author:
- Herbert Praehofer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
static Move
of(Pos from, Pos to)
Creates a move from a position to a positionString
toString()
-
-
-
Field Detail
-
N
public static final int N
Size of the puzzle- See Also:
- Constant Field Values
-
from
public final Pos from
the from position
-
to
public final Pos to
the to position
-
-