More refactor more comments
This commit is contained in:
parent
a20abff918
commit
1bb33d6fb1
3 changed files with 15 additions and 9 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue