mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 23:26:40 -08:00
Add Bug and conecpt of completeness
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user