Files
processing4/java/examples/Books/Processing Handbook/Synthesis/Synthesis_13_withoutTitle/Module.pde
2012-04-08 18:07:42 +00:00

19 lines
316 B
Plaintext

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;
}
}