Processing in Eclipse - Multiple classes, getting PApplet extended class to access other classes' info
in
Integration and Hardware
•
2 years ago
Hi there.
I'm running processing on eclipse for the first time.
The story is... I'm developing a project in eclipse (based on robotics simulator) and have the need to draw a map (or something like that), so I decided to try using processing in eclipse, since I'm experienced with processing.
So, I followed the tutorial on processing.org, having a class for processing (that extends PApplet) and the other classes, containing the info that I need to access to draw the map thingy.
The PApplet is started like suggested in the tutorial:
- String[] p5args = new String[] { "--present", "P5Teste" };
- PApplet.main(p5args);
The "P5Teste" class...
- public class P5Teste extends PApplet
I already tried extending (PApplet) the class containing the info but that doesn't work either.
I really need some help on this one.
Thanks.
1