Пример #1
0
 public WelcomeScreen(AGSEditor editor)
 {
     _editor      = editor;
     _resolver    = editor.EditorResolver;
     _recentGames = _resolver.Container.Resolve <RecentGames>();
 }
Пример #2
0
 public WelcomeScreen(IGame game)
 {
     _game        = game;
     _resolver    = ((AGSGame)game).GetResolver();
     _recentGames = _resolver.Container.Resolve <RecentGames>();
 }