|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface Cell.Memento
The Cell.Memento interface stores the state of a Cell and all its subcells for future restoration.
Cell| Method Summary | |
|---|---|
boolean |
isAlive(Point location)
On restoration of a cell from a memento, indicate that a cell is alive. |
void |
markAsAlive(Point location)
On creation of the memento, indicate that a cell is alive. |
| Methods inherited from interface com.holub.life.Storable |
|---|
flush, load |
| Method Detail |
|---|
void markAsAlive(Point location)
boolean isAlive(Point location)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||