|
Godot Nature of Code
1.2.0
Nature of Code implemented in Godot Engine
|
Cellular automata 1D. More...
Inherits Node2D.
Public Member Functions | |
| delegate void | ScreenCompleted () |
Sent when _rows generations have been created. More... | |
| CellularAutomata1D () | |
| Create a default cellular automata with a cell scale of 10. More... | |
| CellularAutomata1D (int scale) | |
| Create a default cellular automata with a custom cell scale. More... | |
| void | RandomizeRuleSet () |
| Randomize rule set. More... | |
| void | RandomizeCurrentLine () |
| Randomize current line. More... | |
| void | ResetCurrentLine () |
| Reset current line. More... | |
Properties | |
| float | WaitTime [get, set] |
| Wait time More... | |
| Color | CellColor = Colors.LightBlue [get, set] |
| Cell color More... | |
| bool | ScrollLines [get, set] |
| Scroll lines? More... | |
| byte | RuleNumber [get, set] |
| Current rule number More... | |
Cellular automata 1D.
Definition at line 15 of file CellularAutomata1D.cs.
|
inline |
Create a default cellular automata with a cell scale of 10.
Definition at line 67 of file CellularAutomata1D.cs.
|
inline |
Create a default cellular automata with a custom cell scale.
| scale | Scale |
Definition at line 73 of file CellularAutomata1D.cs.
|
inline |
Randomize current line.
Definition at line 91 of file CellularAutomata1D.cs.
|
inline |
Randomize rule set.
Definition at line 83 of file CellularAutomata1D.cs.
|
inline |
Reset current line.
Definition at line 105 of file CellularAutomata1D.cs.
| delegate void Automata.CellularAutomata1D.ScreenCompleted | ( | ) |
Sent when _rows generations have been created.
|
getset |
Cell color
Definition at line 35 of file CellularAutomata1D.cs.
|
getset |
Current rule number
Definition at line 41 of file CellularAutomata1D.cs.
|
getset |
|
getset |
Wait time
Definition at line 21 of file CellularAutomata1D.cs.