23 lines
264 B
JavaScript
23 lines
264 B
JavaScript
class Startscreen {
|
|
constructor(width, height) {
|
|
this.width = width;
|
|
this.height = height;
|
|
|
|
}
|
|
|
|
setup() {
|
|
createCanvas(this.width, this.height);
|
|
|
|
}
|
|
|
|
|
|
draw() {
|
|
circle(100, 100, 100)
|
|
}
|
|
|
|
update() {
|
|
|
|
}
|
|
|
|
|
|
} |