This repository has been archived on 2022-08-05. You can view files and clone it, but cannot push or open issues or pull requests.
testexetrisathlon/testexetrisathlon/SoundManagement/Beeper.cs

16 lines
291 B
C#

using System;
namespace testexetrisathlon.SoundManagement
{
public static class Beeper
{
public static void Beep(int frequency, int duration)
{
#if WINDOWS
Console.Beep(frequency, duration);
#else
Console.Write("\a");
#endif
}
}
}