By using this site, you agree to our Privacy Policy and our Terms of Use. Close
JaggedSac said:

Also, don't use Double unless it is necessary, instead use double. double is a primitive, and Double is a wrapper object for a double primitive.

And vlad321, it has everything to do with scope, he was trying to access the non-static x and y variables from a static context.

Scottie, it would be helpful if you would just post all of your code.  And just for clarification, what does Body have that you are extending?  Bounding box, helper methods, etc?

 

Static is not scope. It has nothign to do with restrictions from where a variable is visible.



Tag(thx fkusumot) - "Yet again I completely fail to see your point..."

HD vs Wii, PC vs HD: http://www.vgchartz.com/forum/thread.php?id=93374

Why Regenerating Health is a crap game mechanic: http://gamrconnect.vgchartz.com/post.php?id=3986420

gamrReview's broken review scores: http://gamrconnect.vgchartz.com/post.php?id=4170835