private bool GeneralMenu() { string userInput; inputOutputModule.ClearMenu(); inputOutputModule.WriteOutput(phraseProvider.GetPhrase(gameSettings.LangPackName, KeysForPhrases.GeneralReg)); inputOutputModule.WriteOutput(phraseProvider.GetPhrase(gameSettings.LangPackName, KeysForPhrases.GeneralTrade)); inputOutputModule.WriteOutput(phraseProvider.GetPhrase(gameSettings.LangPackName, KeysForPhrases.GeneralShow)); inputOutputModule.WriteOutput(gameSettings.ExitButton); inputOutputModule.WriteOutput(phraseProvider.GetPhrase(gameSettings.LangPackName, KeysForPhrases.ExitKey)); userInput = inputOutputModule.ReadInput(); if (userInput == "1") { Registration(); } if (userInput == "2") { Trading(); } if (userInput == "3") { for (bool i = true; i;) { i = ShowInfoMenu(); } } if (userInput == gameSettings.ExitButton) { return(false); } return(true); }