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

@ -51,7 +51,9 @@ abstract class Entity {
public abstract update(): void;
public draw(): void {
push();
fill(this.fill);
rect(this.position.x, this.position.y, this.width, this.height);
pop();
}
}