this!
in
Core Library Questions
•
2 years ago
How do I pass in "this" into the constructor of a class?
import processing.video.*;
class World {
Movie bgMov;
World(App???? appThis) {
bgMov = new Movie(appThis, "bg.mov");
}
}
void setup() {
world = new World(this)
}
thanks!
1