public PackUnit CreatePack(string packTitle = null, PackTypeVariations packType = PackTypeVariations.cards52) { PackUnit packUnit = _packFactory.Create(packTitle, packType); _packStorage.Add(packUnit); return packUnit; }
public PackUnit GetPackByTitle(string packTitle) { PackUnit packUnit = _packStorage.Packs .Where(singlePack => singlePack.Title == packTitle) .FirstOrDefault(); return packUnit; }
public void ShufflePack(PackUnit pack) { pack.Shuffle(_choosenMixer.Shuffle); }