Ca2d
Name
Ca2d -- Defines abstract protocol for cellular automata.
Description
Inherits from DblBuffer2d, defines abstract protocol for cellular automata.
Methods
Phase: Creating
-
initializeLattice Use this to set up your CA to a default initial state. Unimplemented in Ca2d; subclass this to set up initial state of lattice.
-
setNumStates: (unsigned)
n Record the number of states the CA understands.
Phase: Using
-
stepRule One iteration of the CA rule. Unimplemented in Ca2d; subclass this to implement your CA rule.