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
David Hermann
06d01e97b4
Added location command to get the current location of the player
2 years ago
David Hermann
a9f0ec154b
Added createBeach method to createLocations class
2 years ago
David Hermann
456b7d8c59
Added beach to the gameconfig.json
2 years ago
David Hermann
157ceabc59
Edited TravelEngine, added getLocationList and locationExist method
2 years ago
David Hermann
201e2aa1fb
Created class with ansi color codes
2 years ago
David Hermann
3cedb71e90
Added the travel engine to the InteractionLoop
2 years ago
David Hermann
c8ea2a75fe
Added getPlayer method to the travel engine
2 years ago
David Hermann
a3722db633
refactoring: outsourced the entities in the entities package
2 years ago
David Hermann
20bc727d77
Created traveling engine
2 years ago
David Hermann
6e24f5651b
Created player class
2 years ago
David Hermann
20a4614128
Created class where locations can be created
2 years ago
David Hermann
f1e40de850
Created location class
2 years ago
David Hermann
9a6f804563
Created mob class
2 years ago