I am using AndEngine to add sprites to the screen and come across using the movemodifier method.
I have two integers MaxDuration and MinDuration;
What i want to do is when the user gets to a score of a certain increment.
Like for example.. when the user gets to 20(the integer changes) when the user gets to 40(the integer changes). So basically count by 20 and every time the score meets a number divisible by 20 the integer's change. I hope this makes sense.
Is there any method or way to do this? I have an UpdateTime handler that can check the score just about every second.
Any ideas?
question from:https://stackoverflow.com/questions/8260690/how-to-check-if-number-is-divisible-by-a-certain-number