示例#1
0
        private void ClearProvinceOwner(ProvinceGizmo provinceGizmo)
        {
            var province = provinceGizmo.Province;

            province.Owner = Nation.Independents;
            provinceGizmo.Refresh();
        }
示例#2
0
 private void RemoveAllCommanderElements(ProvinceGizmo provinceGizmo, Commander commander)
 {
     foreach (var unit in commander.UnitsUnderCommand)
     {
         provinceGizmo.RemoveElementGizmo(unit);
     }
 }