public static List <Type> AllSubclassesOf(Type t)
 {
     return(AllGameRelatedTypes
            .Where(t.IsAssignableFrom)
            .ToList());
 }
 public static List <Type> AllDirectSubclassesOf(Type t)
 {
     return(AllGameRelatedTypes
            .Where(type => type.BaseType == t)
            .ToList());
 }