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); }
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(); }