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

namespace eagle {
    using ProvinceId = Int32;

    public class VisitTownCommandSelector : CommandSelector {
        public override AvailableCommand.SealedValueOneofCase CommandType =>
                AvailableCommand.SealedValueOneofCase.VisitTownCommand;
        public override string HeaderString => "Visit Town";
        public override string CommitButtonString => "Commit Visit Town";

        private VisitTownAvailableCommand VisitTownAvailableCommand =>
                _availableCommand.VisitTownCommand;
        private ProvinceId ActingProvinceId => VisitTownAvailableCommand.ActingProvinceId;

        protected override void SetUpUI() {}

        public override SelectedCommand Command =>
                new SelectedCommand { VisitTownCommand = new VisitTownSelectedCommand() };
    }
}
