Beispiel #1
0
 public static void Initialize()
 {
     VisitablesData = DataController.LoadData <VisitablesData>("default", DataFileType.Visitables);
 }
Beispiel #2
0
        /// <summary>
        /// Sets the items randomly.
        /// </summary>
        private static void SetItems()
        {
            var items = DataController.LoadData <MerchantShopData>("default", DataFileType.Merchant).GetItems(Merchant.Inventory);

            Merchant.Inventory.AddItems(items);
        }