mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
blue book examples
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user