render method
Implementation
@override
void render(Canvas canvas) {
super.render(canvas);
if (hasGameRef) {
if (gameRef.showCollisionArea == true) {
_drawCollision(
canvas,
gameRef.collisionAreaColor ?? Colors.lightGreen.withOpacity(0.5),
);
}
}
}