visibles<T extends GameComponent> method

  1. @override
Iterable<T> visibles<T extends GameComponent>()
override

Used to get visible "Components".

Implementation

@override
Iterable<T> visibles<T extends GameComponent>() {
  return _visibleComponents.whereType<T>();
}