public static int ContainsQuirk(Passive type) { for (int i = 0; i < 4; i++) { if (members[i] != null && members[i].GetQuirk().GetType().Equals(type.GetType())) { return(i); } } return(-1); }