This commit is contained in:
s-prechtl 2022-12-13 10:36:52 +01:00
parent a464da424a
commit e0e7f5bb60
4 changed files with 6 additions and 2 deletions

View file

@ -57,9 +57,9 @@ class Raspberry extends Entity {
}
public draw(): void {
push();
image(this.image, this.position.x, this.position.y, this.width, this.height);
noFill();
strokeWeight(50);
if (!this.showHitbox) {
noStroke();
}
@ -69,5 +69,6 @@ class Raspberry extends Entity {
this.width,
this.height
);
pop();
}
}