Beispiel #1
0
        public Stash(IFileReader reader, ItemSaveDataMapper itemSaveDataMapper, StorageId storageId)
        {
            Instance = this;

            Inventory = new GameObject("Stash").AddComponent <InventoryComponent>();
            Inventory.transform.position = new Vector3(-400, 0, 0);
            Inventory.Construct(160);

            this.reader             = reader;
            this.itemSaveDataMapper = itemSaveDataMapper;
            this.storageId          = storageId;
        }
Beispiel #2
0
 public Mailbox(ItemSaveDataMapper mapper, IFileReader reader, StorageId storageId)
 {
     this.mapper    = mapper;
     this.reader    = reader;
     this.storageId = storageId;
 }