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.
|
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
|
|
}
|
|
}
|
|
} |