protected override void Execute(List <GameInfoEntity> entities) { if (!_gameInfo.hasGameStart) { var complexity = _gameInfo.hasPreferredComplexity ? _gameInfo.preferredComplexity.GameComplexity : GameComplexityType.Random; _gameInfo.ReplaceGameStart(true, complexity); } }
protected override void Execute(List <GameInfoEntity> entities) { var cardGameBoardData = _dataLoader.Load(); if (cardGameBoardData == null) { Debug.LogWarning("Nothing to load!"); return; } CleanOldData(); LoadNewData(cardGameBoardData); _gameInfo.ReplaceGameStart(false, GameComplexityType.Random); }