iPhone Game Having a statement checked every 50 points
Posted
by user298261
on Stack Overflow
See other posts from Stack Overflow
or by user298261
Published on 2010-04-10T08:23:44Z
Indexed on
2010/04/10
8:33 UTC
Read the original article
Hit count: 278
Hello!
I've run into a little hurdle and wanted to see if somebody could help me!
I want to write an algorithm for an if statement that says:
if (for every 50 points)
{
//do something
}
I thought += 50 would do the trick, but nope.
Any ideas?
Thanks!
© Stack Overflow or respective owner