SpriteComponent.fromSprite(double width, double height, this.sprite) { this.width = width; this.height = height; }