mirror of
https://github.com/processing/processing4.git
synced 2026-02-02 13:21:07 +01:00
20 lines
345 B
Plaintext
20 lines
345 B
Plaintext
class EggRing {
|
|
Egg ovoid;
|
|
Ring circle = new Ring();
|
|
|
|
EggRing(float x, float y, float t, float sp) {
|
|
ovoid = new Egg(x, y, t, sp);
|
|
circle.start(x, y - sp/2);
|
|
}
|
|
|
|
void transmit() {
|
|
ovoid.wobble();
|
|
ovoid.display();
|
|
circle.grow();
|
|
circle.display();
|
|
if (circle.on == false) {
|
|
circle.on = true;
|
|
}
|
|
}
|
|
}
|