public static void Output(string deckName, string fileName) { var success = DeckBLL.OutputDeckToFile(deckName, fileName); var message = success ? $"Deck Was Successfully Output To File '{fileName}'." : "An Error Occured While Attempting To Build Deck."; Console.WriteLine(message); }
public static void Build(string deckName, string tribe) { var success = DeckBLL.BuildCommanderDeck(deckName, tribe); var message = success ? "Deck Built Successfully." : "An Error Occured While Attempting To Build Deck."; Console.WriteLine(message); }
public static void Create(string deckName, string commanderName) { var success = DeckBLL.CreateDeck(deckName, commanderName); var message = success ? "Deck Created Successfully." : "An Error Occured While Attempting To Create Deck."; Console.WriteLine(message); }
public static void FindLands(string deckName) { var cards = DeckBLL.GetDeckLands(deckName); Console.WriteLine("Outputting Cardss"); foreach (var card in cards) { Views.Output.DrawCard(card); } }
public static void Stats(string deckName) { var stats = DeckBLL.GetDeckStats(deckName); Console.WriteLine(); Console.WriteLine($"Deck: {stats.DeckName}"); Console.WriteLine($"Creature Count: {stats.CreatureCount}"); Console.WriteLine($"Land Count: {stats.LandCount}"); Console.WriteLine($"Instant Count: {stats.InstantCount}"); Console.WriteLine($"Sorcery Count: {stats.SorceryCount}"); Console.WriteLine($"Planswalker Count: {stats.PlaneswalkerCount}"); Console.WriteLine($"Artifact Count: {stats.ArtifactCount}"); Console.WriteLine($"Enchantment Count: {stats.EnchantmentCount}"); }
public static void Delete(string deckName) { DeckBLL.DeleteDeck(deckName); Console.WriteLine($"Successfully Deleted the deck '{deckName}' ."); }
public static void Rename(string deckName, string newName) { DeckBLL.RenameDeck(deckName, newName); Console.WriteLine($"Successfully Renamed the deck '{deckName}' to '{newName}'."); }
public static void Remove(string deckName, string cardName) { DeckBLL.RemoveCardFromDeck(deckName, cardName); Console.WriteLine($"Successfully Removed the card '{cardName}' the deck '{deckName}'."); }
public static void Add(string deckName, string cardName) { DeckBLL.AddCardToDeck(deckName, cardName); Console.WriteLine($"Successfully Added the card '{cardName}' the deck '{deckName}'."); }