mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 07:10:42 -08:00
11 lines
247 B
C#
11 lines
247 B
C#
namespace Bounce;
|
|
|
|
internal static class IReadWriteExtensions
|
|
{
|
|
internal static float ReadParameter(this IReadWrite io, string parameter)
|
|
{
|
|
var value = io.ReadNumber(parameter);
|
|
io.WriteLine();
|
|
return value;
|
|
}
|
|
} |