More refactor more comments

This commit is contained in:
s-prechtl 2023-01-10 09:39:34 +01:00
parent a20abff918
commit 1bb33d6fb1
3 changed files with 15 additions and 9 deletions

View file

@ -54,8 +54,14 @@ abstract class Entity {
this._showHitbox = false;
}
/**
* Updates the entity.
*/
public abstract update(): void;
/**
* Draws the entity.
*/
public draw(): void {
push();
fill(this.fill);