Quick question about the code:

7 views
Skip to first unread message

Youanden

unread,
Jul 11, 2010, 4:46:57 AM7/11/10
to The_Elements
On lines 42 and 43 on R15, appear these lines:
42 static final int maxy = 414; // 454 for g1, 815 for droid
43 static final int maxx = 319; // 319 for g1, 479 for droid


Shouldn't final's be capitalized as constants, and seeing as how they
are supposed to change, is it really good practice to reference a
changing value as a final?
Obviously it doesn't change during the sequence of the game, only when
re instantiated, but still.

IDKJava Developers

unread,
Jul 12, 2010, 5:27:49 PM7/12/10
to thele...@googlegroups.com
Yeah that's probably right.  Do you want to have access to the svn server so you can make changes?

Youanden

unread,
Jul 12, 2010, 5:57:41 PM7/12/10
to The_Elements
Sure would, though I want to get comfortable with the code before
posting any revisions of my own. :)
Reply all
Reply to author
Forward
0 new messages