I am writing a game which uses a timer. I want to move the player if they don't move within the timer's interval; but when they do move, I want to "reset" the timer.
I think the simplest way would be to set timer.interval and timer.enabled; then if the player does a move, I would set timer.enabled := false; then timer.enabled := true; - is this sensible?
Alternatively, should I use timer.killtimer?
cheers
S.