Godot Nature of Code  1.2.0
Nature of Code implemented in Godot Engine
List of all members
Automata.HistoricalGameOfLife Class Reference

Historical Game of Life. More...

Inheritance diagram for Automata.HistoricalGameOfLife:
Automata.CellularAutomata2D< HistoricalCell, bool >

Additional Inherited Members

- Public Member Functions inherited from Automata.CellularAutomata2D< HistoricalCell, bool >
 CellularAutomata2D ()
 Create a default cellular automata with a cell scale of 20. More...
 
 CellularAutomata2D (int scale)
 Create a default cellular automata with a custom cell scale. More...
 
virtual void RandomizeGrid ()
 Randomize grid. More...
 
- Protected Member Functions inherited from Automata.CellularAutomata2D< HistoricalCell, bool >
virtual Vector2 GetAutomataBounds ()
 Get automata bounds. More...
 
virtual void InitializeGrid ()
 Initialize grid. More...
 
virtual void InitializeCell (TCell cell, int i, int j)
 Initialize cell. More...
 
virtual void ReviveCellAtScreenPos (Vector2 pos)
 Revive cell at screen position. More...
 
virtual int GetAliveNeighborsFromCell (int x, int y)
 Get alive neighbors from cell position. More...
 
virtual T ApplyRules (int x, int y)
 Apply rules on cell and return next state. More...
 
virtual void Generate ()
 Create a new generation. More...
 
- Protected Attributes inherited from Automata.CellularAutomata2D< HistoricalCell, bool >
TCell[] _grid
 Grid nodes More...
 
int _scale
 Cell scale More...
 
int _rows
 Row count More...
 
int _cols
 Cols count More...
 
int _generation
 Current generation More...
 
Node2D _gridContainer
 Grid container More...
 
- Properties inherited from Automata.CellularAutomata2D< HistoricalCell, bool >
float WaitTime [get, set]
 Wait time More...
 
Color CellColor [get, set]
 Cell color More...
 
bool Paused [get, set]
 Paused More...
 
bool HighlightTransitions [get, set]
 Highlight when a cell is transitioning from life to death More...
 
bool CenterAlignedGrid [get, set]
 Align grid to the center More...
 
bool HideGUI [get, set]
 Hide GUI More...
 
TouchBehaviorEnum TouchBehavior [get, set]
 Touch behavior More...
 
WrapBehaviorEnum WrapBehavior [get, set]
 Wrap behavior More...
 

Detailed Description

Historical Game of Life.

Definition at line 37 of file HistoricalGameOfLife.cs.


The documentation for this class was generated from the following file: