5dplomacy/MultiversalDiplomacy/Orders/SupportHoldOrder.cs

19 lines
433 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 : SupportOrder
2022-02-19 00:58:16 +00:00
{
public SupportHoldOrder(Power power, Unit unit, Unit target)
: base (power, unit, target)
2022-02-19 00:58:16 +00:00
{
}
2022-04-07 22:58:17 +00:00
public override string ToString()
{
return $"{this.Unit} supports {this.Target}";
}
2022-02-19 00:58:16 +00:00
}