class Sprite2 { constructor({position}) { this.position = position; this.height = 0; this.width = 0; } draw() {} update() { this.draw(); } }