@@ -0,0 +1,906 @@
+/**%0A * This class is the graph class for each cell having eight neighbors, which%0A * includes each adjacent neighbor and each diagonally adjacent neighbor.%0A * %0A * @author Jeremy, Team 12%0A *%0A */%0Apublic class EightNeighborSquareGraph extends SquareGraph %7B%0A%0A%09public EightNeighborSquareGraph(int numCellsWidth, int numCellsHeight,%0A%09%09%09int screenWidth, int screenHeight, int points) %7B%0A%09%09super(numCellsWidth, numCellsHeight, screenWidth, screenHeight, points);%0A%09%7D%0A%0A%09public boolean isNeighbors(Cell first, Cell second) %7B%0A%09%09return first.getID() == second.getID() - 1%0A%09%09%09%09&& first.getID() %25 getNumCellsAcross() != 0%0A%09%09%09%09%7C%7C first.getID() == second.getID() - getNumCellsAcross()%0A%09%09%09%09%7C%7C first.getID() == second.getID() - getNumCellsAcross() - 1%0A%09%09%09%09&& (second.getID() - 1) %25 getNumCellsAcross() != 0%0A%09%09%09%09%7C%7C first.getID() == second.getID() - getNumCellsAcross() + 1%0A%09%09%09%09&& second.getID() %25 getNumCellsAcross() != 0;%0A%09%7D%0A%7D%0A

Add verticies to Cells, rewrite connectCells method to use shared verticies