Exemplo n.º 1
0
        public static void Init(string launchParameters, CoreWindow window, SwapChainBackgroundPanel swapChainBackgroundPanel)
        {
            if (state != EngineState.UnInitialized)
            {
                game = XamlGame <RGSSGame> .Create(launchParameters, window, swapChainBackgroundPanel);

                game.IsFixedTimeStep = true;
                game.GameControler   = (GameControler.CreateControler(game));
            }
            else
            {
                throw new Exception("RGSSEngine has already been initialized");
            }
        }
Exemplo n.º 2
0
 public static GameControler CreateControler(RGSSGame game)
 {
     _gameControler = new GameControler(game);
     return(_gameControler);
 }