2022-03-24 16:22:13 +00:00
|
|
|
using MultiversalDiplomacy.Orders;
|
|
|
|
|
|
|
|
namespace MultiversalDiplomacy.Adjudicate.Decision;
|
|
|
|
|
|
|
|
public class AttackStrength : 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()
|
|
|
|
=> $"AttackStrength({Order})";
|
|
|
|
|
2022-03-24 16:22:13 +00:00
|
|
|
public AttackStrength(MoveOrder order, IEnumerable<SupportMoveOrder> supports, MoveOrder? opposingMove = null)
|
|
|
|
{
|
|
|
|
this.Order = order;
|
|
|
|
this.Supports = supports.ToList();
|
|
|
|
this.OpposingMove = opposingMove;
|
|
|
|
}
|
|
|
|
}
|