Ejemplo n.º 1
0
        protected override void Initialize()
        {
            if (editorEnabled)
            {
                startEditor?.Invoke();
            }
            renderSystem = new RenderSystem(GraphicsDevice);
            renderSystem.Initialize();
            updateSystem = new UpdateSystem();
            updateSystem.Initialize();
            drawableSystems.Add("RenderSystem", renderSystem);
            updateableSystems.Add("UpdateSystem", updateSystem);

            base.Initialize();
        }
Ejemplo n.º 2
0
        public MainWindow()
        {
            InitializeComponent();

            Editor.API.NotificationSystem.Initialize(UI_DockPanel_Notification, UI_DockPanel_Notification_Translate);
            UpdateSystem.Initialize();

            Navegation.NavegationMenu = navegationBar;
            Navegation.TabControl     = UI_TabControl;
            PluginEngine.Initialize();

            //PluginManager pluginManager = new PluginManager();
            // Internal.System.Initialize();
            // NavegationBar = this.navegationBar;
            // Main = this;
            InitializeUI();
        }