visibleDecorations method

  1. @override
Iterable<GameDecoration> visibleDecorations()
override

Used to get visible "Decoration".

Implementation

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