5dplomacy/MultiversalDiplomacy/Orders/HoldOrder.cs

18 lines
363 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 hold its current province.
/// </summary>
public class HoldOrder : UnitOrder
{
2024-08-15 14:30:43 +00:00
public HoldOrder(string power, Unit unit)
2022-02-19 00:58:16 +00:00
: 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
}