Skip to content
Snippets Groups Projects
Commit 16a669dd authored by CHERIFI Khadidja's avatar CHERIFI Khadidja
Browse files

Replace Cell.java

parent adb13dc8
No related branches found
No related tags found
No related merge requests found
......@@ -6,11 +6,14 @@ public class Cell {
private boolean isAlive;
public Cell(){
this.isAlive = false;
}
/**
* Determines whether this {@link Cell} is alive or not.
*
*
* @return {@code true} if this {@link Cell} is alive and {@code false} otherwise
*/
......@@ -32,7 +35,7 @@ public class Cell {
/**
* Sets the state of this {@link Cell} to alive.
*
* @param cellState the new state of this {@link Cell}
* @param *cellState the new state of this {@link Cell}
*/
public void setAlive() {
......@@ -42,7 +45,7 @@ public class Cell {
/**
* Sets the state of this {@link Cell} to dead.
*
* @param cellState the new state of this {@link Cell}
* @param *cellState the new state of this {@link Cell}
*/
public void setDead() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment