5dplomacy/MultiversalDiplomacy/Adjudicate/Decision/HoldStrength.cs

26 lines
719 B
C#
Raw Normal View History

using MultiversalDiplomacy.Model;
using MultiversalDiplomacy.Orders;
namespace MultiversalDiplomacy.Adjudicate.Decision;
public class HoldStrength : NumericAdjudicationDecision
{
public Province Province { get; }
public Season Season { get; }
public UnitOrder? Order { get; }
public List<SupportHoldOrder> Supports { get; }
public HoldStrength(Province province, Season season, UnitOrder? order = null)
{
this.Province = province;
this.Season = season;
this.Order = order;
this.Supports = new();
}
public HoldStrength((Province province, Season season) point, UnitOrder? order = null)
: this(point.province, point.season, order)
{
}
}