public static bool IsValidCardPool(AbstractDeck input_deck) { string CardPool = input_deck.GetCardPool(); if (CardPool == "") { Console.WriteLine("ERROR >>> Card Pool is empty"); return(false); } return(true); }
public static string[] GetListDeckFactions(AbstractDeck input_deck) { string CardPool = input_deck.GetCardPool(); if (!IsValidCardPool(input_deck)) { return(new string[] { "" }); } else if (!CardPool.Contains(":")) { return(new string[] { CardPool }); } else { return(CardPool.Split(':')); } }