예제 #1
0
 public override bool Init()
 {
     // Write here code to be called on world initialization: initialize resources for your world scene during the world start.
     CurrentWorld = this;
     Console.Run("show_messages 1");
     return(true);
 }
예제 #2
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();
        }
예제 #3
0
        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();
        }