public void ExecuteCommand(IGameCommand command) { if (isRunning == false) { return; } if (command.TryExecute(this)) { ReplayData.CommandHistory.Add(command); } }