public void Run() { _mineMap = _mapFactory.GetMineMap(); _simulationResults.Mines = _mineMap.PlacedMines; _simulationResults.TotalBombs = _mineMap.TotalBombs; SquareSimulation(); HexSimulation(); // while(!squareTask.IsCompleted && !hexTask.IsCompleted){Thread.Sleep(500);} }