Hello everyone,
I am using a timer to control the speed of the monsters in my game, however I can't change the delay of the timer because i'm using
Timer animation = new Timer (speed, this);
to make a timer...
How can I change the speed (speed is an int in the code) ?
(I can change the speed, but the timer still uses the default speed, not the new values I set via keyboard)
thanks
javanoob101