loadAndStart method

void loadAndStart (AppController ac, int level)

Loads a new LevelController and starts the specific level

Implementation

static void loadAndStart(AppController ac, int level) async {
  Future<LevelController> dlc = LevelController._load(ac, level);
  LevelController lc = await dlc;
  await lc._start();
  lc._increaseNrOfTries();
}