Skip to content
Snippets Groups Projects
Commit eebeac09 authored by DURIEZ Kilian's avatar DURIEZ Kilian
Browse files

Update Cell.java

parent adb13dc8
Branches patch-1
No related tags found
No related merge requests found
......@@ -4,6 +4,14 @@
public class Cell {
private boolean isAlive;
private String color = "Red";
public void setColor(String hisColor) {
color = hisColor;
}
public String getColor() {
return color;
}
public Cell(){
this.isAlive = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment