Exemplo n.º 1
0
 // ----- ----- ----- Method ----- ----- -----
 public ReignWindowManager(ReignManager manager, Form owner)
 {
     _owner = owner;
     _reinManager = manager;
     Main = this.CreateReignWindow();
     var result = MessageBox.Show("ゲームを開始します", "確認", MessageBoxButtons.OK);
     StartGame();
 }
Exemplo n.º 2
0
        public void SetUnit(IEnumerable<Unit> unit, Area area, ReignManager rManager)
        {
            _unitList = unit.GetEnumerator();
            _area = area;
            _rManager = rManager;

            SetCount();
            SetUnit();
            this.DialogResult = DialogResult.Cancel;
        }
Exemplo n.º 3
0
        // ----- ----- ----- CTOR ----- ----- -----
        public ReignWindow(ReignManager manager)
        {
            _reinManager = manager;
            InitializeComponent();
            _map = new WorldMapPanel(manager.WorldMap);
            _scrollablePanel.Panel = _map;

            // EventScript用
            _map.Click += this.ClickEvent;
            _timer.Tick += this.ClickEvent;
        }
Exemplo n.º 4
0
 public void SetManager(ReignManager manager)
 {
     _rManager = manager;
     _provInfoControl.SetInfos(manager.GetProvinceInfos());
 }
Exemplo n.º 5
0
 public void SetReignManager(ReignManager rm)
 {
     _rManager = rm;
 }