The goal of the game is for the cat to eat as much tuna as it can, what code should I use so that once the tuna is eaten it will spawn in another area? I'm new to greenfoot and I don't know what codes to use for what.
Please do not just ask for code. Try something -- anything. We will try to help fix any code you are having problems with, but there should be at least an attempt shown and the problem code should be posted.
Are you new to Java also? and to programming in general?
What have you been taught so far (basically)?