render method

void render(
  1. Canvas c
)
override

Implementation

void render(Canvas c) {
  if (_showBarriers) {
    _barriers.forEach((element) {
      c.drawRect(
        Rect.fromLTWH(
          element.dx * _tileSize,
          element.dy * _tileSize,
          _tileSize,
          _tileSize,
        ),
        _paintShowBarriers,
      );
    });
  }
  super.render(c);
}