Forgot getTitle for comments

This commit is contained in:
Jannik Tappert 2024-05-18 19:53:36 +02:00
parent 956980aa7e
commit 53377db0cd

View File

@ -562,6 +562,12 @@ export class TrainerConfig {
return this;
}
/**
* Retrieves the title for the trainer based on the provided trainer slot and variant.
* @param {TrainerSlot} trainerSlot - The slot to determine which title to use. Defaults to TrainerSlot.NONE.
* @param {TrainerVariant} variant - The variant of the trainer to determine the specific title.
* @returns {string} - The title of the trainer.
**/
getTitle(trainerSlot: TrainerSlot = TrainerSlot.NONE, variant: TrainerVariant): string {
let ret = this.name;