From aeb942ad0b332464c2f0bf138b10b7a1d8b15876 Mon Sep 17 00:00:00 2001 From: b21221851 <mohamed-amine.BEL-KHALIFA@etu.univ-amu.fr> Date: Wed, 2 Nov 2022 08:54:21 +0100 Subject: [PATCH] Class squareCell --- app/src/main/java/model/SquareCell.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/app/src/main/java/model/SquareCell.java b/app/src/main/java/model/SquareCell.java index 14f51e9..3b3f157 100644 --- a/app/src/main/java/model/SquareCell.java +++ b/app/src/main/java/model/SquareCell.java @@ -8,6 +8,21 @@ import java.util.List; public class SquareCell extends AbstractCell{ List<Cell> neighbours; + public void squareCell() { + Color DEFAULT_CELL_COLOR; + List<Cell> neighbours; + + } + public void squareCell(Color color) { + this.setColor(color); + + } + + public void squareCell(Color color, List<Cell> neighbours) { + this.setColor(color); + this.setNeighbours(neighbours); + } + /** -- GitLab