Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 //call to buffer an input for later
 public bool BufferPrev(SpaxInput input, bool inStop = false)
 {
     inputChanged = inputRecorder.RecordInput(input, inStop);
     return(inputChanged);
 }
Exemplo n.º 3
0
 public void RecordInput(RecordedInput recording)
 {
     _inputRecorder.RecordInput(recording);
 }