mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Re-adding Topics to SVN
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
class Ball{
|
||||
float x, y, r, m;
|
||||
|
||||
// default constructor
|
||||
Ball() {
|
||||
}
|
||||
|
||||
Ball(float x, float y, float r) {
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
this.r = r;
|
||||
m = r*.1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user