wosn do los
This commit is contained in:
parent
04ef8a872d
commit
43390fe7ce
5 changed files with 32 additions and 10 deletions
|
|
@ -35,7 +35,7 @@ abstract class Entity {
|
|||
this._fill = fill;
|
||||
}
|
||||
|
||||
public abstract update();
|
||||
public abstract update(): void;
|
||||
public draw() {
|
||||
fill(this._fill);
|
||||
rect(this.position.x, this.position.y, this.width, this.height);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue