ported from perforce
This commit is contained in:
11
RobotAndDonkey.Game/Execution/Results/TapeResult.cs
Normal file
11
RobotAndDonkey.Game/Execution/Results/TapeResult.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using RobotAndDonkey.Game.Cards;
|
||||
|
||||
namespace RobotAndDonkey.Game.Execution.Results;
|
||||
|
||||
public record TapeResult(Guid RequestId, IReadOnlyList<Card> Tape) : Result(RequestId)
|
||||
{
|
||||
public override string ToString()
|
||||
{
|
||||
return $"Tape result: {string.Join(", ", Tape.Select(c => c.ToString()))}";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user