5dplomacy/MultiversalDiplomacy/Orders/SupportHoldOrder.cs

19 lines
429 B
C#
Raw Permalink 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
{
2024-08-15 14:30:43 +00:00
public SupportHoldOrder(string 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} sup {this.Target}";
2022-04-07 22:58:17 +00:00
}
2022-02-19 00:58:16 +00:00
}