public bool CollidesWith(FilterComponent otherFilter) { return(otherFilter != null && ((this.categoryBits & otherFilter.maskBits) != 0 || (this.maskBits & otherFilter.categoryBits) != 0)); }
public FilterComponent(FilterComponent otherFilter) { this.Set(otherFilter); }