render method

void render(
  1. Canvas canvas
)

Should render this Particle to given Canvas.

Default behavior is empty, so that it's not required to override this in a Particle that renders nothing and serve as a behavior container.

Implementation

void render(Canvas canvas) {}