public class Pulsar extends Object implements ConwayPattern
ConwayPattern
,
CellGridImpl
,
Serialized FormConstructor and Description |
---|
Pulsar() |
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() |
String |
toString() |
public boolean[][] getPattern()
true
values in the positions where
cells are alivegetPattern
in interface ConwayPattern
public String getPatternName()
getPatternName
in interface ConwayPattern
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.