Exemplo n.º 1
0
        void Awake()
        {
            _automata        = new CellularAutomata(100, 100, new System.Random());
            _hexAutomata     = new HexCellularAutomata(100, 100, new System.Random());
            _automata.Player = DungeonSpawner.Player;

            Height.text = "100";
            Width.text  = "100";
            Seed.text   = "random";
        }
        void Awake()
        {
            _automata = new CellularAutomata(100, 100, new System.Random());
            _hexAutomata = new HexCellularAutomata(100, 100, new System.Random());
            _automata.Player = DungeonSpawner.Player;

            Height.text = "100";
            Width.text = "100";
            Seed.text = "random";
        }