DevToolsService.initWithGame constructor

DevToolsService.initWithGame(
  1. FlameGame<World> game
)

Initializes the service with the given game instance.

Implementation

factory DevToolsService.initWithGame(FlameGame game) {
  instance.initGame(game);
  return instance;
}