2022-03-24 16:22:13 +00:00
|
|
|
using MultiversalDiplomacy.Orders;
|
|
|
|
|
|
|
|
namespace MultiversalDiplomacy.Adjudicate.Decision;
|
|
|
|
|
|
|
|
public class PreventStrength : NumericAdjudicationDecision
|
|
|
|
{
|
|
|
|
public MoveOrder Order { get; }
|
|
|
|
public List<SupportMoveOrder> Supports { get; }
|
|
|
|
public MoveOrder? OpposingMove { get; }
|
|
|
|
|
2022-11-07 05:58:21 +00:00
|
|
|
public override string ToString()
|
|
|
|
=> $"PreventStrength({Order})";
|
|
|
|
|
2022-03-24 16:22:13 +00:00
|
|
|
public PreventStrength(MoveOrder order, IEnumerable<SupportMoveOrder> supports, MoveOrder? opposingMove = null)
|
|
|
|
{
|
|
|
|
this.Order = order;
|
|
|
|
this.Supports = supports.ToList();
|
|
|
|
this.OpposingMove = opposingMove;
|
|
|
|
}
|
|
|
|
}
|