Hi, I was wondering how I would create a turn-based battle system that's similar to Pokemon in Greenfoot? Right now I have the changing to a battle world when an enemy is encountered but I don't know how to code the actual fighting. I'm talking about attacks, health bars etc.

