public void CanGetInputAfterRecording() { var recordedInput = new RecordedInput(new [] { new RecordedInput.InputData("Horizontal", 1.0f) }, 0.01f); _recorder.RecordInput(recordedInput); Check.That(_recorder.GetInputForDuration(0.01f)).ContainsExactly(recordedInput); }
//call to buffer an input for later public bool BufferPrev(SpaxInput input, bool inStop = false) { inputChanged = inputRecorder.RecordInput(input, inStop); return(inputChanged); }
public void RecordInput(RecordedInput recording) { _inputRecorder.RecordInput(recording); }