private void MoveItems(int amount) { var selectedCargoItem = SelectedCargoPannel.selectedCargo; SelectedCargoPannel.AddUICargoIn(selectedCargoItem, -amount); UnselectedCargoPannel.AddUICargoIn(selectedCargoItem, amount); }
private void MoveItems(long amount) { var selectedCargoVM = SelectedCargoPannel.SelectedCargoVM; var selectedCargoItem = selectedCargoVM.CargoableItem; SelectedCargoPannel.AddUICargoOut(selectedCargoVM.CargoableItem, amount); UnselectedCargoPannel.AddUICargoIn(selectedCargoVM.CargoableItem, amount); }