public bool CanSupport(AttachmentPoint point) => point.Size >= MinSupportedSize && point.Size <= MaxSupportedSize && Invert(point.Type) == Type;
Example #2
0
 public IEnumerable <AttachmentSlot> GetSupportingPoints(AttachmentPoint other) => _attachmentPoints.Where(x => x.CanSupport(other));