Uses of Class
PuzzleException

Uses of PuzzleException in <Unnamed>
 

Methods in <Unnamed> that throw PuzzleException
 void Puzzle.add(Piece piece)
          Add the piece to the puzzle.
 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.
private static Piece PuzzleLoader.readPiece(java.io.BufferedReader reader)
          Reads a line, processes it, and returns a new Piece object
private  void PuzzleLoader.readPuzzle(java.io.BufferedReader reader)
          Reads puzzle definition and creates a puzzle state object with pieces
 

Constructors in <Unnamed> that throw PuzzleException
Piece(int x, int y, int width, int height, char movement)
          Constructor: initializes a piece that is not yet part of any puzzle
Puzzle(int width, int height)
          Constructor: initializes an empty puzzle