2022-02-19 00:58:16 +00:00
|
|
|
using MultiversalDiplomacy.Model;
|
|
|
|
|
|
|
|
namespace MultiversalDiplomacy.Orders;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// An order to sustain a timeline in existence.
|
|
|
|
/// </summary>
|
|
|
|
public class SustainOrder : Order
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// The ordered time center.
|
|
|
|
/// </summary>
|
|
|
|
public Location TimeCenter { get; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The timeline to sustain.
|
|
|
|
/// </summary>
|
|
|
|
public int Timeline { get; }
|
|
|
|
|
2024-08-15 14:30:43 +00:00
|
|
|
public SustainOrder(string power, Location timeCenter, int timeline)
|
2022-02-19 00:58:16 +00:00
|
|
|
: base (power)
|
|
|
|
{
|
|
|
|
this.TimeCenter = timeCenter;
|
|
|
|
this.Timeline = timeline;
|
|
|
|
}
|
|
|
|
}
|