Hello!
I'm trying to write my first combat script, but I can't figure out how to make it eat food + it has to be below a certain health percentage.
I only have some expierence with HTML5,CSS and Python so I'm trying to learn Java as I go.
This is my code so far:
https://pastebin.com/TcGbX2Hw
All critique and tips are welcome!
Edit:
I'm currently reading up on Enum states, is it better to use?
And how do I define all states like: BANKING, EATING etc.?