/// <summary> /// Passes input gotten from an InputGetter to a specified IntLeafOption, the method in the IntLeaf is not called directly since the /// selected option must also be changed /// </summary> /// <param name="input">The input to pass in the form of a string</param> /// <param name="option">The option to pass the input to</param> public void passInput(string input, IntLeafOption option) { back(); //Go back since the current state will be an InputGetter and we want to go back to what it was before option.takeInput(input); }