render method

  1. @override
void render(
  1. Canvas canvas
)
override

Implementation

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