class GameObject { constructor(game, x, y) { this.game = game; this.x = x; this.y = y; } draw(ctx, conf) {} update() {} }