diff --git a/Cell.java b/Cell.java index 9a0b4bd6665f70adc5b71de952f25e175b04b0a6..867f1c65759550c049f53d6d596f29c256f62b3f 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. *