@@ -0,0 +1,1496 @@
+import java.util.Collection;%0A%0Aimport javafx.geometry.Point2D;%0Aimport javafx.scene.shape.Shape;%0A%0A/**%0A * This is the class in which the Cell object is defined.%0A * %0A * @author Jeremy, Team 12%0A */%0Apublic class Cell %7B%0A%09private int myID;%0A%09private int myCurrentState;%0A%09private int myFutureState;%0A%09private Shape myShape;%0A%09private Collection%3CCell%3E myNeighbors;%0A%09private Collection%3CPoint2D%3E myVertices;%0A%0A%09public Cell(int id, int currentState, int futureState, Shape shape,%0A%09%09%09Collection%3CCell%3E neighbors, Collection%3CPoint2D%3E vertices) %7B%0A%09%09myID = id;%0A%09%09myCurrentState = currentState;%0A%09%09myFutureState = futureState;%0A%09%09myShape = shape;%0A%09%09myNeighbors = neighbors;%0A%09%09myVertices = vertices;%0A%09%7D%0A%0A%09public int getID() %7B%0A%09%09return myID;%0A%09%7D%0A%0A%09public void setID(int id) %7B%0A%09%09myID = id;%0A%09%7D%0A%0A%09public int getCurrentState() %7B%0A%09%09return myCurrentState;%0A%09%7D%0A%0A%09public void setCurrentState(int currentState) %7B%0A%09%09myCurrentState = currentState;%0A%09%7D%0A%0A%09public int getFutureState() %7B%0A%09%09return myFutureState;%0A%09%7D%0A%0A%09public void setFutureState(int futureState) %7B%0A%09%09myFutureState = futureState;%0A%09%7D%0A%0A%09public Shape getShape() %7B%0A%09%09return myShape;%0A%09%7D%0A%0A%09public void setShape(Shape shape) %7B%0A%09%09myShape = shape;%0A%09%7D%0A%0A%09public void addNeighbor(Cell neighbor) %7B%0A%09%09myNeighbors.add(neighbor);%0A%09%7D%0A%0A%09public void removeNeighbor(Cell neighbor) %7B%0A%09%09if (myNeighbors.contains(neighbor))%0A%09%09%09myNeighbors.remove(neighbor);%0A%09%7D%0A%0A%09public Collection%3CCell%3E getNeighbors() %7B%0A%09%09return myNeighbors;%0A%09%7D%0A%0A%09public Collection%3CPoint2D%3E getVertices() %7B%0A%09%09return myVertices;%0A%09%7D%0A%0A%7D%0A

Create cell class with basic get and set method