26 lines
319 B
JavaScript
26 lines
319 B
JavaScript
class Startscreen {
|
|
constructor(width, height) {
|
|
this.width = width;
|
|
this.height = height;
|
|
|
|
}
|
|
|
|
setup() {
|
|
createCanvas(this.width, this.height);
|
|
|
|
}
|
|
|
|
|
|
draw() {
|
|
push()
|
|
circle(100, 100, 100)
|
|
fill(255, 0, 255)
|
|
pop()
|
|
}
|
|
|
|
update() {
|
|
|
|
}
|
|
|
|
|
|
} |