generate() {
    this.generateReadmeFile();
    if (this.profile.levelNumber === 1) {
      this.generatePlayerCodeFile();
    }
  }
/**
   * Generates the profile files (README and, if first level, player code).
   */
Generates the profile files (README and, if first level, player code).
Generates the profile files ( README and if first level player code ) .
generate() {
    this.generateReadmeFile();
    if (this.profile.levelNumber === 1) {
      this.generatePlayerCodeFile();
    }
  }
generate ( ) { this . generateReadmeFile ( ) ; if ( this . profile . levelNumber === 1 ) { this . generatePlayerCodeFile ( ) ; } }
Generates the profile files (README and, if first level, player code).
Generates the profile files ( README and if first level player code ) .