public WelcomeScreen(AGSEditor editor) { _editor = editor; _resolver = editor.EditorResolver; _recentGames = _resolver.Container.Resolve <RecentGames>(); }
public WelcomeScreen(IGame game) { _game = game; _resolver = ((AGSGame)game).GetResolver(); _recentGames = _resolver.Container.Resolve <RecentGames>(); }