Add TextIO implemnetation of IReadWrite

This commit is contained in:
Andrew Cooper
2022-02-15 22:26:12 +11:00
parent 6f20449e71
commit ee84b19150
3 changed files with 258 additions and 2 deletions

View File

@@ -37,8 +37,8 @@ namespace Games.Common.IO
/// Read numbers from input to fill an array.
/// </summary>
/// <param name="prompt">The text to display to prompt for the values.</param>
/// <param name="numbers">A <see cref="float[]" /> to be filled with values from input.</param>
void ReadNumbers(string prompt, float[] numbers);
/// <param name="values">A <see cref="float[]" /> to be filled with values from input.</param>
void ReadNumbers(string prompt, float[] values);
/// <summary>
/// Reads a <see cref="string" /> value from input.