10 lines
162 B
JavaScript
10 lines
162 B
JavaScript
class GameObject {
|
|
constructor(game, x, y) {
|
|
this.game = game;
|
|
this.x = x;
|
|
this.y = y;
|
|
}
|
|
|
|
draw(ctx, conf) {}
|
|
update() {}
|
|
} |