using System;
using Net.Eagle0.Eagle.Api;

namespace eagle {
    using ProvinceId = Int32;

    public class TravelCommandSelector : CommandSelector {
        public override AvailableCommand.SealedValueOneofCase CommandType =>
                AvailableCommand.SealedValueOneofCase.TravelCommand;
        public override string HeaderString => "Travel";
        public override string CommitButtonString => "Commit Travel";

        private TravelAvailableCommand TravelAvailableCommand => _availableCommand.TravelCommand;
        private ProvinceId ActingProvinceId => TravelAvailableCommand.ActingProvinceId;

        protected override void SetUpUI() {}

        public override SelectedCommand Command =>
                new SelectedCommand { TravelCommand = new TravelSelectedCommand() };
    }
}