Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

An int

 
Fernando hiar
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 8898
5
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Wow Fernando,

I'm lost

Can you show us your code?
 
salvin francis
Bartender
Pie
Posts: 1227
10
Eclipse IDE Google Web Toolkit Java
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
possible cross post: http://www.coderanch.com/t/491823/Game-Development/java/Games-java


 
Bert Bates
author
Sheriff
Posts: 8898
5
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi Fernando,

Please avoid posting the same question twice - it makes it hard for everyone else to work with you.

I'm going to lock this one up, and let the discussion continue in the other thread.

Bert
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic