5dplomacy/MultiversalDiplomacy/Orders/SupportHoldOrder.cs

20 lines
446 B
C#
Raw Normal View History

2022-02-19 00:58:16 +00:00
using MultiversalDiplomacy.Model;
namespace MultiversalDiplomacy.Orders;
/// <summary>
/// An order for a unit to support another unit's hold order.
/// </summary>
public class SupportHoldOrder : UnitOrder
{
/// <summary>
/// The unit to support.
/// </summary>
public Unit Target { get; }
public SupportHoldOrder(Power power, Unit unit, Unit target)
: base (power, unit)
{
this.Target = target;
}
}