Merge branch 'main' into develop
Some checks failed
Deploy To Stage / build (push) Failing after 7s
Deploy To Stage / deploy (push) Has been skipped

This commit is contained in:
Ethan Lane 2024-10-12 20:53:47 +01:00
commit 76af70da06
3 changed files with 6 additions and 2 deletions

View file

@ -29,6 +29,10 @@ export default class Inventory extends AppBaseEntity {
this.Quantity = quantity;
}
public AddQuantity(amount: number) {
this.Quantity += amount;
}
public RemoveQuantity(amount: number) {
if (this.Quantity < amount) return;