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