mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-03 00:30:36 -08:00
13 lines
272 B
C#
13 lines
272 B
C#
using BugGame.Parts;
|
|
using BugGame.Resources;
|
|
|
|
namespace BugGame;
|
|
|
|
internal class Bug
|
|
{
|
|
private readonly Body _body = new();
|
|
|
|
public bool IsComplete => _body.IsComplete;
|
|
|
|
public bool TryAdd(IPart part, out Message message) => _body.TryAdd(part, out message);
|
|
} |