// Determine which card we pulled public Pentacles(int i) { int caseSwitch = i; switch (caseSwitch) { case 64: FaceName = "One of Pentacles"; break; case 65: FaceName = "Two of Pentacles"; break; case 66: FaceName = "Three of Pentacles"; break; case 67: FaceName = "Four of Pentacles"; break; case 68: FaceName = "Five of Pentacles"; break; case 69: FaceName = "Six of Pentacles"; break; case 70: FaceName = "Seven of Pentacles"; break; case 71: FaceName = "Eight of Pentacles"; break; case 72: FaceName = "Nine of Pentacles"; break; case 73: FaceName = "Ten of Pentacles"; break; case 74: FaceName = "Page of Pentacles"; break; case 75: FaceName = "Knave of Pentacles"; break; case 76: FaceName = "Queen of Pentacles"; break; case 77: FaceName = "King of Pentacles"; break; default: break; } // Call the method to display the card information to the console DisplayCard card = new DisplayCard(Arcana, ArcDesc, FaceName, Element, Zodiac, Associated, Meaning, Past, Present, Future, Decision, Timing); }
// Determine which card we pulled public Swords(int i) { int caseSwitch = i; switch (caseSwitch) { case 36: FaceName = "One of Swords"; break; case 37: FaceName = "Two of Swords"; break; case 38: FaceName = "Three of Swords"; break; case 39: FaceName = "Four of Swords"; break; case 40: FaceName = "Five of Swords"; break; case 41: FaceName = "Six of Swords"; break; case 42: FaceName = "Seven of Swords"; break; case 43: FaceName = "Eight of Swords"; break; case 44: FaceName = "Nine of Swords"; break; case 45: FaceName = "Ten of Swords"; break; case 46: FaceName = "Page of Swords"; break; case 47: FaceName = "Knave of Swords"; break; case 48: FaceName = "Queen of Swords"; break; case 49: FaceName = "King of Swords"; break; default: break; } // Call the method to display the card information to the console DisplayCard card = new DisplayCard(Arcana, ArcDesc, FaceName, Element, Zodiac, Associated, Meaning, Past, Present, Future, Decision, Timing); }
// Determine which card we pulled public Wands(int i) { int caseSwitch = i; switch (caseSwitch) { case 50: FaceName = "One of Wands"; break; case 51: FaceName = "Two of Wands"; break; case 52: FaceName = "Three of Wands"; break; case 53: FaceName = "Four of Wands"; break; case 54: FaceName = "Five of Wands"; break; case 55: FaceName = "Six of Wands"; break; case 56: FaceName = "Seven of Wands"; break; case 57: FaceName = "Eight of Wands"; break; case 58: FaceName = "Nine of Wands"; break; case 59: FaceName = "Ten of Wands"; break; case 60: FaceName = "Page of Wands"; break; case 61: FaceName = "Knave of Wands"; break; case 62: FaceName = "Queen of Wands"; break; case 63: FaceName = "King of Wands"; break; default: break; } // Call the method to display the card information to the console DisplayCard card = new DisplayCard(Arcana, ArcDesc, FaceName, Element, Zodiac, Associated, Meaning, Past, Present, Future, Decision, Timing); }
// Determine which card we pulled public Cups(int i) { int caseSwitch = i; switch (caseSwitch) { case 22: FaceName = "One of Cups"; break; case 23: FaceName = "Two of Cups"; break; case 24: FaceName = "Three of Cups"; break; case 25: FaceName = "Four of Cups"; break; case 26: FaceName = "Five of Cups"; break; case 27: FaceName = "Six of Cups"; break; case 28: FaceName = "Seven of Cups"; break; case 29: FaceName = "Eight of Cups"; break; case 30: FaceName = "Nine of Cups"; break; case 31: FaceName = "Ten of Cups"; break; case 32: FaceName = "Page of Cups"; break; case 33: FaceName = "Knave of Cups"; break; case 34: FaceName = "Queen of Cups"; break; case 35: FaceName = "King of Cups"; break; default: break; } // Call the method to display the card information to the console DisplayCard card = new DisplayCard(Arcana, ArcDesc, FaceName, Element, Zodiac, Associated, Meaning, Past, Present, Future, Decision, Timing); }
// Constructor to display the information after assignment. public MajorArcana(int i) { // use the passed int i to detemrine which of the 22 options to display int caseSwitch = i; switch (caseSwitch) { case 0: FaceName = "Fool"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 1: FaceName = "Magician"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 2: FaceName = "Priestess"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 3: FaceName = "Empress"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 4: FaceName = "Emperor"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 5: FaceName = "Priest"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 6: FaceName = "Lovers"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 7: FaceName = "Chariot"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 8: FaceName = "Hermit"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 9: FaceName = "Wheel"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 10: FaceName = "Strength"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 11: FaceName = "Justice"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 12: FaceName = "Hanged Man"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 13: FaceName = "Death"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 14: FaceName = "Temperance"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 15: FaceName = "Devil"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 16: FaceName = "Tower"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 17: FaceName = "Star"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 18: FaceName = "Moon"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 19: FaceName = "Sun"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 20: FaceName = "Judgement"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; case 21: FaceName = "World"; Meaning = ""; Past = ""; Present = ""; Future = ""; Decision = ""; Timing = ""; break; default: break; } DisplayCard card = new DisplayCard(Arcana, ArcDesc, FaceName, Meaning, Past, Present, Future, Decision, Timing); /* * Console.WriteLine("Arcana: {0}", Arcana); * Console.WriteLine("Arcana Desc: \n {0}", ArcDesc); * Console.WriteLine(""); * Console.WriteLine("Card: The {0}", FaceName); * Console.WriteLine("General Meaning: \n {0}", Meaning); * Console.WriteLine("Past: {0}", Past); * Console.WriteLine("Present: {0}", Present); * Console.WriteLine("Future: {0}", Future); * Console.WriteLine("Decision: {0}", Decision); * Console.WriteLine("Timing: {0}", Timing); * Console.WriteLine(""); */ }