Files
processing4/java/examples/Books/Processing Handbook/Synthesis/_13_withoutTitle/Module.pde
2011-01-26 20:26:16 +00:00

19 lines
334 B
Plaintext
Executable File

class Module {
int i;
float x, y, myAngle, myRadius, dir;
float mx = width/2;
float my = height/2;
float delay = 40.0;
Module(int spriteNum, float xx, float yy, float deg, float rad, float pp) {
i = spriteNum;
x = xx;
y = yy;
myAngle = deg;
myRadius = rad;
dir = pp;
}
}