amatt13/BossFight

"Sell()" is a method on PlayerWeapon.

Offen

#14 geöffnet am 22.01.2023

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (1 Fork)auto 404
Back Endgood first issue

Repository-Metriken

Stars
 (1 Stern)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

This should be moved to the ShopController or mayby a new buy/sell class. The function should be made general such that any item can be sold trough it.

We should also make sure that the player dosen't receive gold if the method fails. Likewise the player<->item relation should not be delted if the method fails.

Contributor Guide