// ----- ----- ----- Method ----- ----- ----- public ReignWindowManager(ReignManager manager, Form owner) { _owner = owner; _reinManager = manager; Main = this.CreateReignWindow(); var result = MessageBox.Show("ゲームを開始します", "確認", MessageBoxButtons.OK); StartGame(); }
public void SetUnit(IEnumerable<Unit> unit, Area area, ReignManager rManager) { _unitList = unit.GetEnumerator(); _area = area; _rManager = rManager; SetCount(); SetUnit(); this.DialogResult = DialogResult.Cancel; }
// ----- ----- ----- 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; }
public void SetManager(ReignManager manager) { _rManager = manager; _provInfoControl.SetInfos(manager.GetProvinceInfos()); }
public void SetReignManager(ReignManager rm) { _rManager = rm; }