22 lines
446 B
C#
22 lines
446 B
C#
using System;
|
|
using RobotAndDonkey.Game.Cards;
|
|
|
|
namespace RobotAndDonkey.Game.Execution.Results;
|
|
|
|
public enum ECardLocation
|
|
{
|
|
Tape,
|
|
Hand,
|
|
Deck,
|
|
Discard,
|
|
Robot,
|
|
Board
|
|
}
|
|
|
|
public record ModifyCardResult(Guid RequestId, Card Card, EModifierId Modifier, ECardLocation Location) : Result(RequestId)
|
|
{
|
|
public override string ToString()
|
|
{
|
|
return $"Modify card result in {Location}: {Card} - {Modifier}";
|
|
}
|
|
} |