Example #1
0
    private static void ShowLogOnUI(string message)
    {
        var ingameUI = InGameLogUI.GetInstance(false);

        if (ingameUI)
        {
            ingameUI.ShowLog(message);
        }
    }
Example #2
0
    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);
    }
Example #3
0
 public override void Execute(InGameLogUI inGameLog = null, string commandLine = "")
 {
     GameMaster.GetInstance().RequestInstance(mainMenu);
 }
Example #4
0
 public abstract void Execute(InGameLogUI inGameLog = null, string commandLine = "");
Example #5
0
 public override void Execute(InGameLogUI inGameLog, string commandLine = "")
 {
     inGameLog.ClearConsole();
 }
Example #6
0
 public override void Execute(InGameLogUI inGameLog = null, string commandLine = "")
 {
     GameMaster.GetInstance().ExitGame();
 }