This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class DungeonGenerator : MonoBehaviour { | |
// Cleanup, organize. | |
int height = 40; | |
int width = 40; | |
bool[,] currentGrid; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class GoL : MonoBehaviour { | |
public bool[,] currentGrid = new bool[40, 40]; | |
bool[,] bufferGrid = new bool[40, 40]; | |
List<GameObject> liveCells = new List<GameObject>(); | |
float startTime; |