Reference PApplet of sketch?
in
Programming Questions
•
2 years ago
Hello
Have been looking around google and can find no reference there or in processing documents for the following.
How do I reference the PApplet of my sketch from 'x' inner class
Object object;
class test
{test () { object = object.setInstance(this);
}
'this' is a type of PApplet and needs to reference the main PApplet of my sketch
I do not know how to pass a PApplet type of my sketch to the function.
Any ideas?
http://www.google.com/search?as_sitesearch=processing.org&as_q=PApplet+of+sketch#sclient=psy&hl=en&q=reference+papplet+of+sketch+site:processing.org&aq=&aqi=&aql=&oq=&gs_rfai=&pbx=1&fp=267856ed3ee60de5
thank you.
Have been looking around google and can find no reference there or in processing documents for the following.
How do I reference the PApplet of my sketch from 'x' inner class
Object object;
class test
{test () { object = object.setInstance(this);
}
'this' is a type of PApplet and needs to reference the main PApplet of my sketch
I do not know how to pass a PApplet type of my sketch to the function.
Any ideas?
http://www.google.com/search?as_sitesearch=processing.org&as_q=PApplet+of+sketch#sclient=psy&hl=en&q=reference+papplet+of+sketch+site:processing.org&aq=&aqi=&aql=&oq=&gs_rfai=&pbx=1&fp=267856ed3ee60de5
thank you.
2