Uses of Class
Puzzle

Uses of Puzzle in <Unnamed>
 

Fields in <Unnamed> declared as Puzzle
private  Puzzle PuzzleLoader.puzzle
           
private  Puzzle PuzzleSolution.solvedPuzzle
           
 

Methods in <Unnamed> that return Puzzle
private  Puzzle Puzzle.clone(PieceMove move)
          Creates a clone of the puzzle where the piece has been moved, as specified in the move object.
 Puzzle PuzzleLoader.getPuzzle()
          Accessor for loaded puzzle
 Puzzle PuzzleSolution.getSolvedPuzzle()
          Accessor for solved puzzle
 

Methods in <Unnamed> with parameters of type Puzzle
 void Piece.addedToPuzzle(Puzzle puzzle)
          Informs the piece that it has been added to the specified puzzle.
private  boolean Piece.addMove(Puzzle puzzle, java.util.Collection moves, char axis, int delta)
          Checks if the piece fits after moving delta spaces along the specified axis.
private  void PuzzleSolution.addPuzzle(Puzzle puzzle)
          Adds the puzzle to the search space, if it doesn't already exist there
 void Piece.checkFit(Puzzle puzzle)
          Checks if the piece can fit into the puzzle without overlapping any other piece or hanging off the edge of the board.
 java.util.Collection Piece.getValidMoves(Puzzle puzzle)
          Finds a list of all valid moves that the piece can make.
 

Constructors in <Unnamed> with parameters of type Puzzle
PuzzleSolution(Puzzle initialPuzzle)
          Constructor: searches for a solution to the initial puzzle.