render method

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

This should render the game.

Implementation

@override
void render(Canvas canvas) {
  _stopwatch.reset();
  _stopwatch.start();
  super.render(canvas);
  _stopwatch.stop();
  _renderTime = _stopwatch.elapsedMilliseconds;
}