Class org.jbox2d.p5.Physics can not access a member of class sumoGame$Wrestling with modifiers "public"
in
Programming Questions
•
2 years ago
Error:
http://pastebin.com/Y4CbqeSd
I have a sketch with a new tab/inner-class called wrestling, in which I have a Physics object (jbox2d/boxwrap2d) and set a custom rendering method using:
-
physics.setCustomRenderingMethod(this, "renderSumos");
which is defined in this class:
-
public void renderSumos(World w) {
-
//code here
- }
I can't understand this error since the method is defined as public. Any help?
If this is specific to this particular library, I apologise to the moderators for the hassle caused in moving it.
1