Exemple #1
0
        public void Go()
        {
            IRenderer renderer = RendererFactory.GetInstance();

            renderer.Init();
            PluginsLoader.GetInstance();
            renderer.StartMainLoop();
        }
Exemple #2
0
        public void Go()
        {
            LogFile logfile = LogFile.GetInstance();

            logfile.Init("logfile.txt");
            LogFile.GetInstance().WriteLine("MapDesigner starting " + DateTime.Now.ToString());
            Il.ilInit();
            Ilu.iluInit();
            Ilut.ilutInit();
            Ilut.ilutRenderer(Ilut.ILUT_OPENGL);
            IRenderer renderer = RendererFactory.GetInstance();

            renderer.Init();
            PluginsLoader.GetInstance();

            Terrain.GetInstance().NewMap();

            renderer.StartMainLoop();
        }