Example #1
0
        // Start is called before the first frame update
        void Start()
        {
            if (!System.IO.Directory.Exists("Maps"))
            {
                System.IO.Directory.CreateDirectory("Maps");
            }

            Settings.calculate();
            random = new System.Random();
            Noise.init(cs);

            //new TextureGenerator().generate();

            model      = new Model.Model();
            view       = new View.View();
            controller = new Controller.Controller();
            view.init(canvas, world);
            controller.init();
            clock = new Stopwatch();
            clock.Start();
        }