Ejemplo n.º 1
0
 protected internal virtual MonoGameGame InitializeGame()
 {
     if (_game != null && _mainDelegateData != null)
     {
         _game.Register(_mainDelegateData.Invoke());
     }
     else if (_game != null && _mainInterfaceData != null)
     {
         _game.Register(_mainInterfaceData.OnScreen());
     }
     return(_game);
 }
Ejemplo n.º 2
0
 protected internal virtual MonoGameGame InitializeGame()
 {
     this.CreateGame();
     if (_game != null && _mainDelegateData != null)
     {
         _game.Register(_mainDelegateData.Invoke());
     }
     else if (_game != null && _mainInterfaceData != null)
     {
         _game.Register(_mainInterfaceData.OnScreen());
     }
     if (_xnalistener != null)
     {
         _xnalistener.Create(this);
     }
     return(_game);
 }