render method
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);
}