Newer
Older
public SquareCell() {
AbstractCell cell = new SquareCell();
}
public SquareCell(Color color){
AbstractCell cell = new SquareCell(color);
}
public SquareCell(Color color,List<Cell>neighbours){
AbstractCell cell = new SquareCell(color,neighbours);
}
@Override
public void setNeighbours(List<Cell> cells) {
for (int i = 0; i < neighbours.size() ; i++) {
this.neighbours.set(i,cells.get(i));
}