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:
@@ -16,6 +16,8 @@ internal class PartCollection
|
||||
_fullMessage = fullMessage;
|
||||
}
|
||||
|
||||
public bool IsComplete => _count == _maxCount;
|
||||
|
||||
public bool TryAddOne(out Message message)
|
||||
{
|
||||
if (_count < _maxCount)
|
||||
|
||||
Reference in New Issue
Block a user