Module cellular.lua
Cellular Automata Class.
Sets up and generates a CA map based on parameters provided. Later exported into roomClass for procedural room generation. But also may be used for Cellular Automata caves.
Info:
- Author: Lonely Owl Games
Functions
CA:floodFill (map, start, list) | Recursively flood fill tile from start For every neighbor not flooded, call _floodFill until no more unfilled neighbors exist. |