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

Update Cell.java

parent adb13dc8
No related branches found
No related tags found
1 merge request!1Update Cell.java
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
......@@ -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