5dplomacy/MultiversalDiplomacy/Orders/SupportOrder.cs

20 lines
435 B
C#
Raw Normal View History

using MultiversalDiplomacy.Model;
namespace MultiversalDiplomacy.Orders;
/// <summary>
/// An order for a unit to support another unit.
/// </summary>
public abstract class SupportOrder : UnitOrder
{
/// <summary>
/// The unit to support.
/// </summary>
public Unit Target { get; }
2024-08-15 14:30:43 +00:00
public SupportOrder(string power, Unit unit, Unit target)
: base (power, unit)
{
this.Target = target;
}
}