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
fdai7430
2604815f3e
Implemented useItem(… Player)
2 years ago
fdai7430
2bc63d081a
Implemented useItem(… Mob)
2 years ago
fdai7430
e68f5314e1
Adapted to f8926e0496
2 years ago
fdai7430
f8926e0496
Merge branch 'develop' into fight-engine
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
fdai7430
34f0b127b1
Implemented getUseMessage()
2 years ago
fdai7430
b4bc493d05
Added getTarget() function
2 years ago
fdai7430
78fc6bf0c5
Added getItem() function
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
David Hermann
666fa70a52
Created item class
2 years ago
fdai7430
bb177c42f0
No item or location containing " on " will exist, thus does not need to be supported
2 years ago
fdai7430
5a95b33878
Created function for getting name of item from command argument
2 years ago
fdai7430
5304e84c6c
refactoring: compressed return of getUseMessage()
2 years ago
fdai7430
1033a02a29
refactoring: Pulled the actual using of the item into its own function
2 years ago
Juliakn66
dc77373d07
refactoring: static to non-static method
2 years ago
fdai7430
9d58257ab8
Added output to getUseMessage()
2 years ago
fdai7430
4b6717e2dd
refactoring: Changed order of functions
2 years ago
fdai7430
80197d15f5
Added function for executing use command
2 years ago
fdai7430
72dc8a87f7
Added use command to CommandListener
2 years ago
fdai7430
ebfcbc1e7e
Added class for use command
2 years ago
fdai7430
2f9f9e80de
refactoring: Removed currently unnecessary imports
2 years ago
fdai7430
f77ee2b1d0
First of all, don't sync VSCode settings
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
David Hermann
ede261e59d
refactor: Deleted unused imports from Main class
2 years ago
David Hermann
59a36a66a6
unittest: Added unit test for the quit/exit command
2 years ago
David Hermann
b3dfbe3601
refactor: outsourced code in String function
2 years ago
David Hermann
dfc7fae51a
refactor: Deleted unit test for main class.
Removed scanner from main class.
2 years ago