/** * CSCI 204, Shane Markstrum * Assignment: P1 * Created: Sep 4, 2009, 2:06:03 PM */ /** * @author sm053 * * An interface representing a Cell in a variant on Conway's Game of Life. * You must use this interface in your implementation. * */ public interface Cell { /* * Hint: A Cell might also need to determine whether * it is initially dead or alive. */ /** * Sets the neighbors of the Cell. * * @param neighbors */ public void setNeighbors(Cell[][] neighbors); /** * Updates the current status of the Cell. * Possible updates are live -> live; live -> dead; dead -> live; * dead -> dead. */ public void update(); /** * Returns the current status of the Cell. * * @return * the Cell's status */ public boolean isAlive(); }