/// <summary> /// Event handler for when the Frobnicate menu entry is selected. /// </summary> void FrobnicateMenuEntrySelected(object sender, PlayerIndexEventArgs e) { frobnicate = !frobnicate; SetMenuEntryText(); }
/// <summary> /// Event handler for when the Elf menu entry is selected. /// </summary> void ElfMenuEntrySelected(object sender, PlayerIndexEventArgs e) { elf++; SetMenuEntryText(); }
/// <summary> /// Event handler for when the Language menu entry is selected. /// </summary> void LanguageMenuEntrySelected(object sender, PlayerIndexEventArgs e) { currentLanguage = (currentLanguage + 1) % languages.Length; SetMenuEntryText(); }