CSHARP-16 Fix printing bug

This commit is contained in:
Andrew Cooper
2022-07-14 00:24:10 +10:00
parent a648ebf044
commit 98344717f7
4 changed files with 35 additions and 20 deletions

View File

@@ -23,13 +23,16 @@ internal class Head : ParentPart
public void AppendTo(StringBuilder builder, char feelerCharacter)
{
_feelers.AppendTo(builder, feelerCharacter);
builder
.AppendLine(" HHHHHHH")
.AppendLine(" H H")
.AppendLine(" H O O H")
.AppendLine(" H H")
.AppendLine(" H V H")
.AppendLine(" HHHHHHH");
if (IsPresent)
{
_feelers.AppendTo(builder, feelerCharacter);
builder
.AppendLine(" HHHHHHH")
.AppendLine(" H H")
.AppendLine(" H O O H")
.AppendLine(" H H")
.AppendLine(" H V H")
.AppendLine(" HHHHHHH");
}
}
}