David Hermann
|
06c77bf837
|
unittest: updated mob test
This additionally tests how much life the mob has
|
2 years ago |
David Hermann
|
21f5b7d44c
|
unittest: updated mob test
This additionally tests how much damage the mob does
|
2 years ago |
David Hermann
|
562bd31373
|
unittest: created test for mob class
This tests whether the mob is friendly
|
2 years ago |
David Hermann
|
432c37c278
|
unittest: updated item test
This additionally tests whether the item does any damage at all.
|
2 years ago |
David Hermann
|
8a380d1ef3
|
unittest: updated item test
This additionally tests the damage of the items
|
2 years ago |
David Hermann
|
56fb3c546c
|
unittest: created test for item class
This is testing the name of the item
|
2 years ago |
David Hermann
|
62ddc0bd3c
|
Update Player.java
Added empty constructor for unit tests
|
2 years ago |
David Hermann
|
7131083fd9
|
Update Mob.java
Added empty constructor for unit tests
|
2 years ago |
David Hermann
|
5e723f41b3
|
Update Location.java
Added empty constructor for unit tests
Added setName() method for unit tests
|
2 years ago |
David Hermann
|
ce6247312e
|
Update Item.java
Changed the privacy of the variables
Added empty constructor for unit tests
|
2 years ago |
Tanja Herche
|
9c5dbc57d7
|
Unittest: MapCommand
|
2 years ago |
Tanja Herche
|
0116cce4d4
|
Merge branch 'develop' into locations
|
2 years ago |
Tanja Herche
|
45c7767b46
|
refactoring: reordered properties of mobs
|
2 years ago |
Tanja Herche
|
1208eda908
|
refactoring: created mobs.json, outsourced the mobs
|
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 |
fdai7430
|
1b2d72a078
|
Items and target should not be provided as arguments by player but instead be requested
|
2 years ago |
Max Gerbeth
|
8407682f16
|
unittest: testSubtractGold17()
|
2 years ago |
fdai7430
|
0ba9bd4e7b
|
refactoring: Added Player object in performCommand()
|
2 years ago |
Max Gerbeth
|
e10321a9c2
|
unittest: testSubtractGold16()
|
2 years ago |
fdai7430
|
29141ac7aa
|
Optimized tests
|
2 years ago |
fdai7430
|
ac09973e1f
|
Added test for testUseItem() (Player version)
|
2 years ago |
fdai7430
|
5aa9a17f37
|
Added test for testUseItem() (Mob version)
|
2 years ago |
fdai7430
|
ba715ab500
|
Added test for getUseMessage()
|
2 years ago |
fdai7430
|
6a4f417eee
|
If something does damage, you can attack with it, not the other way around.
|
2 years ago |
fdai7430
|
e5dcc5e566
|
Made functions in UseCommand public so they can be accessed for testing
|
2 years ago |
fdai7430
|
6426ea06c7
|
Combat only starts when player actually attacks someone
|
2 years ago |
fdai7430
|
faf6ec53ef
|
refactoring: Added access modifier for enemies ArrayList
|
2 years ago |
fdai7430
|
7694c397b0
|
refactoring: Pulled getting enemies from location into its own function
|
2 years ago |
fdai7430
|
2b44d99b7a
|
refactoring: Created ArrayList for all enemy mobs
|
2 years ago |
fdai7430
|
0813247215
|
Merge remote-tracking branch 'origin/develop' into fight-engine
|
2 years ago |
fdai7430
|
230a939ea2
|
Enemy mobs now attack player when in combat
|
2 years ago |
fdai7430
|
56b2b46a1a
|
Added loop in UseCommand.performCommand() which only ends when every enemy has been slain
|
2 years ago |
David Hermann
|
d09e3b1c2d
|
refactoring: Removed unused imports
|
2 years ago |
David Hermann
|
c7b8855442
|
refactoring: Language change, added color
When a command is unkown, the language is now german and the message is red.
|
2 years ago |
David Hermann
|
67822c0a8e
|
refactoring: Deleted unused imports
|
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 |