Juliakn66
1cdca21f4f
unittest: added testGetMobsOutputWithoutMobsAndItems()
2 years ago
Juliakn66
d704d962a8
unittest: added testGetMobsOutputWithMobs()
2 years ago
Juliakn66
fbae51a716
unittest: added testGetItemsOutputWithoutItems()
2 years ago
Juliakn66
340fb80cc6
unittest: added testGetItemsOutputWithItems()
2 years ago
Juliakn66
42e710c76d
unittest: added testGetRandomMob()
2 years ago
Juliakn66
e8842e54cd
unittest: added testGetLocationObject ro LookaroundCommandTest
2 years ago
Juliakn66
363112a364
unittest: test for collect Command
testIncreaseAmountOfPlayerConfig()
2 years ago
Juliakn66
4322292198
added collectCommand to HelpCommand and HelpCommandTest
2 years ago
Juliakn66
346155ab00
refactoring: added new method writeNewItem() to collectCommand.java
2 years ago
Juliakn66
8fe445b5f8
refactoring: created method increaseAmountInPlayerConfig() in CollectCommand.java
2 years ago
Juliakn66
11e9541a1f
refactoring: replace code for more readability
2 years ago
Juliakn66
986151d614
implementing method collectItem() in collectCommand.java
2 years ago
Juliakn66
2deb02b591
updated CollectCommand.java: generate a user input to collect specific item
2 years ago
Juliakn66
ec1ee44981
edited method collectItem() of CollectCommand
2 years ago
Juliakn66
841665d081
created method collectItem() to collectCommand
2 years ago
Juliakn66
f9a4bef143
added lookaroundCommand to helpCommand and helpCommandTest
2 years ago
Juliakn66
b8ddcdd879
refactoring: create new method getMobsOutput() to LookaroundCommand
2 years ago
Juliakn66
bf28336b77
refactoring: create new method getItemsOutput to lookaroundCommand.java
2 years ago
Juliakn66
1b1b9af898
refactoring: create new method getRandomMob() to LookaroundCommand.java
2 years ago
Juliakn66
2d13de8429
refactoring: created new method getRandomItem()
2 years ago
Juliakn66
5d8d6b764e
refactoring: created method getLocationObject()
2 years ago
Juliakn66
8370dc59b2
added output of randomItems, randomMobs, and description of location
2 years ago
Juliakn66
f6fb656ecd
generate random mobs and items in Lookaround Command()
2 years ago
Juliakn66
8bb9367d7b
updated LookaroundCommand()
get ArrayList of currentLocation of Player
2 years ago
Juliakn66
577c2a61ec
added CollectCommand to CommandListener
2 years ago
Juliakn66
b8b4b6ea25
create CollectCommand.java
2 years ago
Juliakn66
ac7fd50507
updated Json files: gameconfig.json an items.json
2 years ago
Juliakn66
a140d0db32
Unittest: created InventoryTestCommand
2 years ago
Juliakn66
abb4bf1d46
added function set inventory() to Player file
2 years ago
Juliakn66
a74982a065
added new Command: "lookaround"
2 years ago
Juliakn66
03979f3fc9
refactoring: delete unused code
2 years ago
Juliakn66
97e004966a
Refactoring: deleting unnecessary code
in detail: array of items and mobs won't be print out anymore
2 years ago
Juliakn66
8958d30b07
added inventory command to help command and helpcommandtest
2 years ago
Juliakn66
1dfd9f05bd
refactoring: edited message of inventoryCommand
2 years ago
Juliakn66
85b25fae39
refactoring: added colors
2 years ago
Juliakn66
56792352b6
create lookaroundCommand.java
2 years ago
Juliakn66
fdb1744f20
added InventoryCommand to CommandListener to call inventory in game
2 years ago
Juliakn66
4155578805
edited InventoryCommand: added amount to readInv()
2 years ago
Juliakn66
c204733e70
edited player constructor
added to arrayList inventory the items of file playerconfig
2 years ago
Juliakn66
e7f156b1af
added damage and doesDamage to playerconfig
2 years ago
Juliakn66
f71eae31a1
added methods getAmount() and setAmount() to item.java
2 years ago
Juliakn66
fed6f0b61c
added amount to item.java
added amount of items to constructor
2 years ago
Juliakn66
3a54eff308
edited method readInv()
puts inventory out
2 years ago
Juliakn66
0936d9f39c
implementing readInv()
2 years ago
Juliakn66
14cbe43890
added readInv()
2 years ago
Juliakn66
1e20ed4621
Create InventoryCommand
Create InventoryCommand
2 years ago
Juliakn66
84c1c1e5d9
Merge branch 'develop' of https://github.com/RedEagle-dh/BitBiome into Julia
2 years ago
David Hermann
ec70ab4803
Summary Commit
Boot.java: Added getPlayerSave()
InteractionLoop: Asks for name if the player's name is null
JsonParser: New method writeObject
Travel Engine: getLocationByName() method
Edited Help Command
Added setter for Player's name
New Quiz questions
Edited Help unit test
Added unit test for Location Command
2 years ago
David Hermann
c18cb6190a
refactoring: outsourced current location message
2 years ago
David Hermann
48af98341b
Added Travel command, to travel to different places
2 years ago