Esempio n. 1
0
 private void CheckLaser()
 {
     for (int nr = 0; nr < lasers.Count(); nr++)
     {
         lasers[nr].haveornothave = GUIPlanetOperations.Check_HasItem(lasers[nr].id, staty.Get_Data_From("Laser"));
         GUIPlanetOperations.Check_buttons(lasers[nr].haveornothave, text_button, nr, staty.Get_Data_From("Antymatery"), lasers[nr].price);
     }
 }
Esempio n. 2
0
 private void CheckShip()
 {
     for (int nr = 0; nr < ships.Count(); nr++)
     {
         ships[nr].haveornothave = GUIPlanetOperations.Check_HasItem(ships[nr].id, staty.Get_Data_From("Ship_Id"));
         GUIPlanetOperations.Check_buttons(ships[nr].haveornothave, text_button, nr, staty.Get_Data_From("Antymatery"), ships[nr].price);
     }
 }