xxxxxxxxxx
16
class Puffin {
constructor(x, y) {
this.x = x;
this.y = y;
}
show() {
//draw puffin based on this.x and this.y
ellipse(this.x, this.y, 50, 50);
}
move() {
this.x = this.x + 1;
this.y = this.y + 1;
}
}