more good times

This commit is contained in:
benfry
2004-07-08 21:16:37 +00:00
parent 04813a0c53
commit ef1ca11cae
3 changed files with 11 additions and 5 deletions

View File

@@ -231,7 +231,9 @@ public class PdePreprocessor {
*/
void writeHeader(PrintStream out, String imports[],
String className) {
//out.print("package pootime;");
// must include processing.core
out.print("import processing.core.*; ");
// emit emports that are needed for classes from the code folder
if (imports != null) {
@@ -260,7 +262,7 @@ public class PdePreprocessor {
if (programType == STATIC) {
// now that size() and background() can go inside of draw()
out.print("void draw() {");
out.print("public void draw() {");
}
}
}