public interface ConwayPattern extends Serializable
ConwayPattern
describes the state of a conway grid.
ConwayPattern
objects are useful for persisting grid states
for recall later.Modifier and Type | Method and Description |
---|---|
boolean[][] |
getPattern()
This method should return a 2 dimensional array of boolean that represent
a conway grid, with
true values in the positions where
cells are alive |
String |
getPatternName() |
boolean[][] getPattern()
true
values in the positions where
cells are aliveString getPatternName()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.