2022-03-24 16:22:13 +00:00
|
|
|
using MultiversalDiplomacy.Orders;
|
|
|
|
|
|
|
|
namespace MultiversalDiplomacy.Adjudicate.Decision;
|
|
|
|
|
|
|
|
public class IsDislodged : BinaryAdjudicationDecision
|
|
|
|
{
|
|
|
|
public UnitOrder Order { get; }
|
|
|
|
public List<MoveOrder> Incoming { get; }
|
|
|
|
|
2022-11-07 05:58:21 +00:00
|
|
|
public override string ToString()
|
|
|
|
=> $"IsDislodged({Order.Unit})";
|
|
|
|
|
2022-03-24 16:22:13 +00:00
|
|
|
public IsDislodged(UnitOrder order, IEnumerable<MoveOrder> incoming)
|
|
|
|
{
|
|
|
|
this.Order = order;
|
|
|
|
this.Incoming = incoming.ToList();
|
|
|
|
}
|
|
|
|
}
|