use of main.content.enums.entity.UnitEnums.UNIT_GROUP in project Eidolons by IDemiurge.
the class PlaceholderGenerator method generate.
public static void generate() {
/*
unit subgroups
*/
for (UNIT_GROUP group : UnitEnums.UNIT_GROUP.values()) {
for (String sub : StringMaster.openContainer(group.getSubgroups(), ",")) {
for (PLACEHOLDER_AI_TYPE aiType : PLACEHOLDER_AI_TYPE.values()) {
ObjType type = generate(group, sub, aiType.name());
type.setProperty(PROPS.AI_TYPE, aiType.name());
}
for (PLACEHOLDER_POWER power : PLACEHOLDER_POWER.values()) {
generate(group, sub, power.name());
}
}
}
}
Aggregations