isVisible property

  1. @override
bool get isVisible
override

Implementation

@override
bool get isVisible {
  return hasGameRef ? gameRef.camera.canSeeWithMargin(this) : false;
}