public MonsterTypes(params MonsterType[] types) { if (types.Length > 0) Type_0 = types[0]; if (types.Length > 1) Type_1 = types[1]; if (types.Length > 2) throw new Exception(); }
public bool Contains(MonsterType type) => Type_0 == type || Type_1 == type;
public MonsterTypes(MonsterType type_0, MonsterType type_1) { Type_0 = type_0; Type_1 = type_1; }