I want a method to run after every 10 or 15 seconds.
My timer is set to:
timer = (double) gameTime.ElapsedGameTime.TotalSeconds;
What would be the logic to check for every 10 or 15 seconds?
No comments:
Post a Comment