abstract class WorkerNode extends ImmutableNode
| Constructor and Description |
|---|
WorkerNode(int level,
int population) |
WorkerNode(Node tl,
Node tr,
Node bl,
Node br) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(java.awt.Graphics g,
int x,
int y,
int width,
int height) |
(package private) Node |
getCentreBottom() |
(package private) Node |
getCentreLeft() |
(package private) Node |
getCentreMiddle() |
(package private) Node |
getCentreRight() |
(package private) Node |
getCentreTop() |
(package private) Node |
growUp() |
(package private) Node |
setCell(int x,
int y,
boolean value) |
Node |
timeStep(int step) |
equals, getBL, getBR, getChild, getLevel, getPopulation, getTL, getTR, hashCodeNode getCentreBottom()
getCentreBottom in class NodeNode getCentreLeft()
getCentreLeft in class NodeNode getCentreMiddle()
getCentreMiddle in class NodeNode getCentreRight()
getCentreRight in class NodeNode getCentreTop()
getCentreTop in class Node