Example #1
0
        private static void Main(string[] args)
        {
            Engine.Init(args);

            AppSystemLogic systemLogic = new AppSystemLogic();
            AppWorldLogic  worldLogic  = new AppWorldLogic();
            AppEditorLogic editorLogic = new AppEditorLogic();

            Engine.Main(systemLogic, worldLogic, editorLogic);

            Engine.Shutdown();
        }
        static void Main(string[] args)
        {
            Wrapper.init();

            AppSystemLogic systemLogic = new AppSystemLogic();
            AppWorldLogic  worldLogic  = new AppWorldLogic();
            AppEditorLogic editorLogic = new AppEditorLogic();

            Engine engine = Engine.init(Engine.VERSION, args);

            engine.main(systemLogic, worldLogic, editorLogic);

            Engine.shutdown();
        }