format und variablen
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
size(800, 600);
|
||||
int x; // Deklaration x
|
||||
x = 10;
|
||||
int y; // Deklaration y
|
||||
y = 10;
|
||||
rect(x, y, 30, 30); // Quadrat eins
|
||||
rect (x+50, y+50, 30, 30); // Quadrat zwei
|
||||
Reference in New Issue
Block a user