From cccc153c4e0a9e337cdfa30267a11e318918a441 Mon Sep 17 00:00:00 2001 From: FARESSE Adam <adam.faresse@etu.univ-amu.fr> Date: Mon, 19 Oct 2020 00:27:39 +0200 Subject: [PATCH] Update Cell.java --- Cell.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cell.java b/Cell.java index 9a0b4bd..867f1c6 100644 --- a/Cell.java +++ b/Cell.java @@ -8,7 +8,10 @@ public class Cell { public Cell(){ this.isAlive = false; } - + public void setColor(String hisColor) { color = hisColor; } + + public String getColor() { return color; } + /** * Determines whether this {@link Cell} is alive or not. * -- GitLab