public Member(string n, string e, string c, string r) { fullName = n; email = e; clubName = c; switch (r) { case "User": rank = ranks.USER; break; case "Secretary": rank = ranks.SECRETARY; break; case "Treasurer": rank = ranks.TREASURER; break; case "VicePresident": rank = ranks.VICE_PRESIDENT; break; case "President": rank = ranks.PRESIDENT; break; case "FacultyAdvisor": rank = ranks.ADVISOR; break; default: rank = ranks.USER; break; } }
public Cards(int rank, int suit) //Constructor, takes in two integer (for rank and suit) { this.rank = (ranks)rank; this.suit = (suits)suit; }