visibleAttackables method

  1. @override
Iterable<Attackable> visibleAttackables()
override

Used to get visible "Attackables".

Implementation

@override
Iterable<Attackable> visibleAttackables() {
  return _visibleComponents
      .where((element) => (element is Attackable))
      .cast();
}