private static void ShowLogOnUI(string message) { var ingameUI = InGameLogUI.GetInstance(false); if (ingameUI) { ingameUI.ShowLog(message); } }
public override void Execute(InGameLogUI inGameLog, string commandLine = "") { var commandList = inGameLog.GetCommandList(); var helpText = "Command Format: \\*command* \n"; helpText += " List of Possible Commands: \n"; for (int i = 0; i < commandList.Count; i++) { helpText += commandList[i].GetCommandKey().Bolden() + ": " + commandList[i].GetDescription() + "\n"; } inGameLog.ShowLog(helpText); }
public override void Execute(InGameLogUI inGameLog = null, string commandLine = "") { GameMaster.GetInstance().RequestInstance(mainMenu); }
public abstract void Execute(InGameLogUI inGameLog = null, string commandLine = "");
public override void Execute(InGameLogUI inGameLog, string commandLine = "") { inGameLog.ClearConsole(); }
public override void Execute(InGameLogUI inGameLog = null, string commandLine = "") { GameMaster.GetInstance().ExitGame(); }