I am trying to encapsulate some user interface functions within a class that I have created. To do so, I need to invoke the image(img,int,int) method from within this class.
In a flat (non-OOP) application, I just write image(img,x,y); Since image is not a static method of PGraphics, I guess that I need a PGraphics object so I can do something like pgraphicsObj.image(img,x,y). Is there some system variable representing such an object? help!