public Island(int[] param, string name, int[] nav, int [] special)
{
InitializeComponent();
// int[] param = {hp, def, OD, damage, morality };
// int[] nav = { NavSob, NavHunt, NavFish, NavCraft, NavMining, NavWood};
// int[] special = { Strength, Perception, Endurance, Will, Intelligence, Agility, Luck };
//присвоение параметрам формы значений входящих параметров
HPmax = param[0];
HPnow = param[0];
Def = param[1];
OD = param[2];
ODhod = param[2];
Damage = param[3];
Name = name;
Morality = param[4];
NavSob = nav[0];
NavHunt = nav[1];
NavFish = nav[2];
NavCraft = nav[3];
NavMining = nav[4];
NavWood = nav[5];
Strength = special[0];
Perception = special[1];
Endurance = special[2];
Will = special[3];
Intelligence = special[4];
Agility = special[5];
Luck = special[6];
//Прячем оружие за край экрана
//луки
pictureBowDouble.Left = 1200;
pictureStrongBowDouble.Left = 1200;
//ближнее
pictureBatonDouble.Left = 1200;
pictureLanceDouble.Left = 1200;
//
// Всплывающие подсказки
//
toolTipROM.ToolTipTitle = Rom.name;
toolTipROM.SetToolTip(pictureRom, Rom.text);
//ресурсы
toolTipAll.SetToolTip(pictureBox1, "Еда");
toolTipAll.SetToolTip(pictureBox8, "Вода");
toolTipAll.SetToolTip(pictureBox2, "Древесина");
toolTipAll.SetToolTip(pictureBox3, "Камень");
toolTipAll.SetToolTip(pictureBox7, "Кожа");
toolTipAll.SetToolTip(pictureBox9, "Веревки");
toolTipAll.SetToolTip(pictureBox10, "Смола");
toolTipAll.SetToolTip(pictureBox11, "Руда");
//инструменты
toolTipAll.SetToolTip(pictureSmallBasket, SmallBasket.name + "\n" + SmallBasket.text);
toolTipAll.SetToolTip(pictureBasket, Basket.name + "\n" + Basket.text);
toolTipAll.SetToolTip(pictureWoodAxe, WoodAxe.name + "\n" + WoodAxe.text);
toolTipAll.SetToolTip(pictureRockAxe, RockAxe.name + "\n" + RockAxe.text);
toolTipAll.SetToolTip(pictureWoodPick, WoodPick.name + "\n" + WoodPick.text);
toolTipAll.SetToolTip(pictureRockPick, RockPick.name + "\n" + RockPick.text);
//оружие
toolTipAll.SetToolTip(pictureBow, Bow.name + "\n" + Bow.text);
toolTipAll.SetToolTip(pictureStrongBow, StrongBow.name + "\n" + StrongBow.text);
toolTipAll.SetToolTip(pictureBaton, Baton.name + "\n" + Baton.text);
toolTipAll.SetToolTip(pictureLance, Lance.name + "\n" + Lance.text);
//экипировка
toolTipAll.SetToolTip(pictureShlem1, SkinHat.name + "\n" + SkinHat.text);
toolTipAll.SetToolTip(pictureKurtka1, SkinShirt.name + "\n" + SkinShirt.text);
toolTipAll.SetToolTip(pictureShtani1, SkinPants.name + "\n" + SkinPants.text);
toolTipAll.SetToolTip(pictureSapogi1, SkinShoes.name + "\n" + SkinShoes.text);
Refresh();
}