@override void render(Canvas canvas) { super.render(canvas); animation?.getSprite().renderFromVector2Rect( canvas, this.position, opacity: opacity, ); }