/**
 * A move in the puzzle game is simply a square.
 * It must be moved to the "blank" location, so
 * the square's location is simply stored as part
 * of the move
 */

public class PuzzleMove
{
    private int mySquare;

    /**
     * Construct a move from a square (presumably in
     * the range of legal values for a puzzle game.)
     * @param square is the move
     */
    
    public PuzzleMove(int square)
    {
	mySquare = square;
    }

    /**
     * Returns the value of this move.
     * @return the move value
     */
    public int getValue()
    {
	return mySquare;
    }
    
}
