Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 210 Bytes
Ball b1;
void setup() {
size(960, 540);
b1 = new Ball(40, 50);
}
class Ball {
float x = 10, y = 20;
Ball(float x, float y) {
// xを出力
println(x);
// yを出力
println(y);
}
}