Max Gerbeth
|
6cb6e42462
|
add README.md
|
2 years ago |
Max Gerbeth
|
8a7eb010ab
|
typo in ShopCommand.java
|
2 years ago |
Max Gerbeth
|
b99ac6da82
|
indend code in Shop.java
|
2 years ago |
Max Gerbeth
|
ec8fd8524b
|
remove unused import in Shop.java
|
2 years ago |
Max Gerbeth
|
cdb9e0d1d9
|
add Comments in ShopCommand.java
|
2 years ago |
Max Gerbeth
|
4a75478c4d
|
unittest: testSubtractGold5()
|
2 years ago |
Max Gerbeth
|
421a9c8314
|
unittest: testSubtractGold4()
|
2 years ago |
Max Gerbeth
|
0ecbfdc69d
|
unittest: testSubtractGold3()
|
2 years ago |
Max Gerbeth
|
8c94c1b739
|
unittest: testSubtractGold2()
|
2 years ago |
Max Gerbeth
|
72aa9c05f7
|
unittest: testSubtractGold1()
|
2 years ago |
Max Gerbeth
|
e323599a74
|
unittest: testSubtractGold()
|
2 years ago |
Max Gerbeth
|
172c8e6997
|
Shop.java add subtractGold()
|
2 years ago |
Max Gerbeth
|
20ba24d5c9
|
refactoring: itemRotation()
|
2 years ago |
Max Gerbeth
|
88496d7252
|
unittest: testValidInput4
|
2 years ago |
Max Gerbeth
|
ba4278790b
|
unittest: testValidInput3
|
2 years ago |
Max Gerbeth
|
ac443832b7
|
unittest: testValidInput2
|
2 years ago |
Max Gerbeth
|
c9fad47496
|
bugfixes
|
2 years ago |
Max Gerbeth
|
ad1efd076f
|
refactoring: ShopCommand.java
|
2 years ago |
Max Gerbeth
|
67ce5e7300
|
refactoring: items.json
|
2 years ago |
Max Gerbeth
|
7680773885
|
implements: loadAllItems()
|
2 years ago |
Max Gerbeth
|
5dadc57cdb
|
refactoring: items.json
|
2 years ago |
Max Gerbeth
|
be84a78653
|
refactoring: add to item.json "amountShop" and "gold"
|
2 years ago |
Max Gerbeth
|
5136f095bc
|
refactoring: loadItems() to loadCurrentShopItems()
|
2 years ago |
Max Gerbeth
|
002854d8ba
|
Shop.java Give Player the Item
|
2 years ago |
Max Gerbeth
|
f110417e51
|
Item do not exist in the playerinventory
|
2 years ago |
Max Gerbeth
|
70ace999d0
|
Give Player the Item
|
2 years ago |
Max Gerbeth
|
7f20018078
|
Test if the player has enough gold
|
2 years ago |
Max Gerbeth
|
271532d3c4
|
Test if item still available in the shop
|
2 years ago |
Max Gerbeth
|
ef4a818ace
|
Create JSONObjects in Shop.buy()
|
2 years ago |
Max Gerbeth
|
85bcef10ab
|
implementing request for item and amount
|
2 years ago |
Max Gerbeth
|
ac6deabcfe
|
Merge remote-tracking branch 'origin/develop' into shop
|
2 years ago |
David Hermann
|
13f6640dc7
|
refactoring: Moved InteractionLoop and JsonParser to the new directory "classes".
Removed test code from JsonParser.
Removed comment in Main
|
2 years ago |
Max Gerbeth
|
f32fa1704f
|
implementing itemRotation()
|
2 years ago |
Max Gerbeth
|
b6f1b1f6d0
|
refactoring: loadPartofItems()
|
2 years ago |
Max Gerbeth
|
c7b47c84e4
|
refactoring: printCurrentShopItems()
|
2 years ago |
Max Gerbeth
|
25a0297ec7
|
implementing itemRotation()
|
2 years ago |
Max Gerbeth
|
4a8ebd9166
|
refactoring: printArrayList() in Shop.java
|
2 years ago |
Max Gerbeth
|
e568ffa523
|
implements loadItems()
|
2 years ago |
Max Gerbeth
|
148b7f0927
|
unittest: ShopCommandTest.java
|
2 years ago |
Max Gerbeth
|
f51c508b25
|
while input loop and validInput() method
|
2 years ago |
Max Gerbeth
|
e96926dba3
|
refactoring: itemRotation()
|
2 years ago |
Max Gerbeth
|
6a5a6454f5
|
refactoring: Shop.java and Item.java
|
2 years ago |
Max Gerbeth
|
49bd7cb2c6
|
Added Method printArrayList()
|
2 years ago |
Max Gerbeth
|
625d1ea2c2
|
refactoring: buy(), loadItems(), getCurrentShopItems(), quiz()
|
2 years ago |
Max Gerbeth
|
d7fb342d9b
|
refactoring: getCurrentShopItems()
|
2 years ago |
Max Gerbeth
|
19f227ebe8
|
Method headers added to Items.java
|
2 years ago |
Max Gerbeth
|
a8e21e70e7
|
get and set Methods in Item.java
|
2 years ago |
Max Gerbeth
|
31aea13df5
|
Constructor in Item.java
|
2 years ago |
Max Gerbeth
|
d5bf6ba5fe
|
Added Item.java
|
2 years ago |
Max Gerbeth
|
e361f4f2b9
|
Shop command integration
|
2 years ago |