public void Exit() { UpgradeCarWithEquippedItems( _upgradable, _inventoryController.GetEquippedItems(), _upgradeHandlersRepository.Collection); _profilePlayer.AddEquipItem(_inventoryModel); Debug.Log(_profilePlayer.CurrentCar.Speed); _profilePlayer.CurrentState.Value = GameState.Start; }
public void Exit() { _inventoryController.HideInventory(); UpgradeCarWithEquippedItems(_upgradable, _inventoryController.GetEquippedItems(), _upgradeHandlersRepository.Collection); }
public IReadOnlyList <IItem> GetEquipedItems() { return(_inventoryController.GetEquippedItems()); }