public Matcher One(params Type[] types) { foreach (var type in types) { this.oneSet.Set(ComponentTypeManager.GetIndexFor(type)); } return(this); }
private static void AppendTypes(StringBuilder builder, string headerMessage, BitSet typeBits) { var firstType = true; builder.Append(headerMessage); foreach (var type in ComponentTypeManager.GetTypesFromBits(typeBits)) { if (!firstType) { builder.Append(", "); } builder.Append(type.Name); firstType = false; } builder.AppendLine(); }