public static WindowRefreshEventProvider GetInstance() { if (_instance == null) { _instance = new WindowRefreshEventProvider(); } return(_instance); }
public Game(ConsoleContainer container) { _refreshEventProvider = WindowRefreshEventProvider.GetInstance(); RefreshTask = _refreshEventProvider.UsedTask; _gameContainer = container; }