5dplomacy/MultiversalDiplomacy/Orders/HoldOrder.cs

18 lines
362 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 hold its current province.
/// </summary>
public class HoldOrder : UnitOrder
{
public HoldOrder(Power power, Unit unit)
: base (power, unit) {}
2022-04-07 22:58:17 +00:00
public override string ToString()
{
return $"{this.Unit} holds";
}
2022-02-19 00:58:16 +00:00
}