findGame method

  1. @override
FlameGame<World>? findGame()
inherited

Fetches the nearest FlameGame ancestor to the component.

Implementation

@override
FlameGame? findGame() => _game ?? super.findGame();