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>
|
2022-03-22 19:57:01 +00:00
|
|
|
public class SupportHoldOrder : SupportOrder
|
2022-02-19 00:58:16 +00:00
|
|
|
{
|
|
|
|
public SupportHoldOrder(Power power, Unit unit, Unit target)
|
2022-03-22 19:57:01 +00:00
|
|
|
: 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
|
|
|
}
|