The value is an int, i´ll put a body snake inside of array e I have a variable tail and the head the rest is the body I´ll put a variable tail in i and I did the expression, I want to know what´s this expression does: i = (i+1) % MAX_POINTS, the max points is the body snake and i is the tail snake..... i want to know because I get the rest of division, but what´s behave in the JPanel this expression.
Thank you;
Bert Bates
author
Sheriff
Joined: Oct 14, 2002
Posts: 8439
posted
0
Wow Fernando,
I'm lost
Can you show us your code?
Eliminate fossil fuel subsidies. (If you're not on the edge, you're taking up too much room.)