Add Bug and conecpt of completeness

This commit is contained in:
Andrew Cooper
2022-07-12 07:41:45 +10:00
parent 6078da8c78
commit be9f0a92f8
8 changed files with 26 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ internal class Body : ParentPart
{
}
public override bool IsComplete => _neck.IsComplete && _tail.IsComplete && _legs.IsComplete;
protected override bool TryAddCore(IPart part, out Message message)
=> part switch
{