Files
processing4/java/examples/Topics/Motion/CircleCollision/Ball.pde
benfry eb64b2d4fc
2011-01-26 19:22:19 +00:00

17 lines
180 B
Plaintext

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