using MultiversalDiplomacy.Model;
namespace MultiversalDiplomacy.Orders;
///
/// An order to move another unit via convoy.
///
public class ConvoyOrder : UnitOrder
{
///
/// The unit to convoy.
///
public Unit Target { get; }
///
/// The destination season to which the target is moving.
///
public Season Season { get; }
///
/// The destination location to which the target is moving.
///
public Location Location { get; }
public ConvoyOrder(Power power, Unit unit, Unit target, Season season, Location location)
: base (power, unit)
{
this.Target = target;
this.Season = season;
this.Location = location;
}
}