public static Card.SubType getCardSubType(Card.Variant type) { switch (type) { case Card.Variant.Build: case Card.Variant.Delegate: case Card.Variant.Assist: case Card.Variant.Fight: return(Card.SubType.Work); case Card.Variant.Legion: case Card.Variant.Workforce: case Card.Variant.SearchParty: case Card.Variant.Inclusion: return(Card.SubType.BandTogether); case Card.Variant.Reality: case Card.Variant.Time: case Card.Variant.Outcomes: case Card.Variant.Creature: return(Card.SubType.Alter); case Card.Variant.Sorcery: case Card.Variant.Leader: case Card.Variant.AllKnowing: case Card.Variant.Mystery: return(Card.SubType.RiseAbove); case Card.Variant.Seek: case Card.Variant.Examine: case Card.Variant.Remember: case Card.Variant.Observe: return(Card.SubType.Understand); case Card.Variant.Weaponry: case Card.Variant.Stealth: case Card.Variant.Words: case Card.Variant.Tricks: return(Card.SubType.Master); case Card.Variant.History: case Card.Variant.Rumors: case Card.Variant.Readings: case Card.Variant.Experience: return(Card.SubType.Guess); case Card.Variant.Canines: case Card.Variant.Vermin: case Card.Variant.Commoners: case Card.Variant.Leaders: return(Card.SubType.Friends); default: Debug.Log("Could not retrieve card subtype."); return(Card.SubType.Work); } }
public Sprite getCardArt(Card.Variant type) { switch (type) { case Card.Variant.Build: return(work1); case Card.Variant.Delegate: return(work2); case Card.Variant.Assist: return(work3); case Card.Variant.Fight: return(work4); case Card.Variant.Legion: return(work5); case Card.Variant.Workforce: return(work6); case Card.Variant.SearchParty: return(work7); case Card.Variant.Inclusion: return(work8); case Card.Variant.Reality: return(magic1); case Card.Variant.Time: return(magic2); case Card.Variant.Outcomes: return(magic3); case Card.Variant.Creature: return(magic4); case Card.Variant.Sorcery: return(magic5); case Card.Variant.Leader: return(magic6); case Card.Variant.AllKnowing: return(magic7); case Card.Variant.Mystery: return(magic8); case Card.Variant.Seek: return(time1); case Card.Variant.Examine: return(time2); case Card.Variant.Remember: return(time3); case Card.Variant.Observe: return(time4); case Card.Variant.Weaponry: return(time5); case Card.Variant.Stealth: return(time6); case Card.Variant.Words: return(time7); case Card.Variant.Tricks: return(time8); case Card.Variant.History: return(luck1); case Card.Variant.Rumors: return(luck2); case Card.Variant.Readings: return(luck3); case Card.Variant.Experience: return(luck4); case Card.Variant.Canines: return(luck5); case Card.Variant.Vermin: return(luck6); case Card.Variant.Commoners: return(luck7); case Card.Variant.Leaders: return(luck8); default: return(work1); } }
public String getFancyCardName(Card.Variant type) { switch (type) { case Card.Variant.Build: return("Build"); case Card.Variant.Delegate: return("Delegate"); case Card.Variant.Assist: return("Assist"); case Card.Variant.Fight: return("Fight"); case Card.Variant.Legion: return("Form Legion"); case Card.Variant.Workforce: return("Form Workforce"); case Card.Variant.SearchParty: return("Form Search Party"); case Card.Variant.Inclusion: return("Inclusion"); case Card.Variant.Reality: return("Alter Reality"); case Card.Variant.Time: return("Alter Time"); case Card.Variant.Outcomes: return("Alter Outcomes"); case Card.Variant.Creature: return("Alter Creature"); case Card.Variant.Sorcery: return("Superior Sorcery"); case Card.Variant.Leader: return("Skilled Leader"); case Card.Variant.AllKnowing: return("All Knowing"); case Card.Variant.Mystery: return("Unknown Powers"); case Card.Variant.Seek: return("Seek Out"); case Card.Variant.Examine: return("Examine"); case Card.Variant.Remember: return("Remember"); case Card.Variant.Observe: return("Observe"); case Card.Variant.Weaponry: return("Master of Weaponry"); case Card.Variant.Stealth: return("Master of Stealth"); case Card.Variant.Words: return("Master of Words"); case Card.Variant.Tricks: return("Master of Tricks"); case Card.Variant.History: return("Recall History"); case Card.Variant.Rumors: return("Recall Rumors"); case Card.Variant.Readings: return("Recall Readings"); case Card.Variant.Experience: return("Guess from Experience"); case Card.Variant.Canines: return("Friend of Canines"); case Card.Variant.Vermin: return("Friend of Vermin"); case Card.Variant.Commoners: return("Friend of Commoners"); case Card.Variant.Leaders: return("Friend of Leaders"); default: return("The Best Card (because its not in game)"); } }