checkLoaded static method

void checkLoaded()

Implementation

static void checkLoaded() {
  // Who know that this old code would predict Game Of Thrones!
  if (!Z.isLoaded) throw GameException('A game must first be loaded.');
}