Hi, I'm quite new to Greenfoot.
I am making a turn based game where counters have to move up a board, after a dice has been rolled, and I'm trying to make the counters only move only once when they are clicked on- at the moment a player can roll a dice and then move they counter as many times as they like- whereas I want the player only to be able to move their counter once.
To combat this, I have initiated a boolean called hasMoved which is set to false when a player hasn't moved, but is turned true once the counter has moved. This has solved the problem, but it now means that after one turn, the counters cannot move anymore.
How do I go about resetting this boolean after the counter has moved without allowing the counter to move more than once?
