public void MainLoop(string mainWindowName, fk_Dimension mainSize, string stateWindowName,
                             fk_Dimension stateSize, SceneBase firstScene)
        {
            fk_Material.InitDefault();
            FKSettings.Create(new fk_AppWindow
            {
                Size       = mainSize,
                BGColor    = fk_Material.MatBlack.Diffuse,
                Scene      = { BlendStatus = true },
                WindowName = mainWindowName,
            }, new fk_AppWindow
            {
                Size       = stateSize,
                BGColor    = fk_Material.DarkBlue.Diffuse,
                WindowName = stateWindowName,
            });
            PushNewScene(firstScene);

            FKSettings.WindowOpen();
            while (FKSettings.Update())
            {
                _sceneStack.Peek().Run();
            }
        }
 public void PushNewScene(SceneBase scene)
 {
     _sceneStack.Push(scene);
     SetFkScene();
 }