Example #1
0
 public static void WhatToBuy()
 {
     if (ItemsDB.items_in_magazin.Count != 0)
     {
         if (ItemsDB.items_in_magazin[0].GetPrice() < money)
         {
             ItemsDB.BuyItem(ItemsDB.items_in_magazin[0]);
         }
     }
 }
Example #2
0
 public Dom_House()
 {
     InitializeComponent();
     ItemsDB.ListItems();
 }