예제 #1
0
파일: SHGUI.cs 프로젝트: kubazz/SHTerminal
    public void PlaySound(SHGUIsound sound)
    {
//
//			//			beepping.Play ();
//			sounds.PlayPing ();
//		else if (sound == SHGUIsound.pong)
//			//			beeppong.Play();
//			sounds.PlayPong ();
//		else if (sound == SHGUIsound.redping)
//			//			beepping.Play();
//			sounds.PlayRedPing ();
//		else if (sound == SHGUIsound.redpong)
//			//			beeppong.Play();
//			sounds.PlayRedPong ();
//
//		else if (sound == SHGUIsound.tick)
//			sounds.PlayCursor();
//		//			sounds.PlayTick ();
//		else if (sound == SHGUIsound.redtick)
//			sounds.PlayRedtick ();
//		else if (sound == SHGUIsound.confirm)
//			sounds.PlayNewLine ();
//		else if (sound == SHGUIsound.wrong)
//			sounds.PlayWrong ();
//		else if (sound == SHGUIsound.download)
//			//			beepping.Play();
//			sounds.PlayDownload ();
//		else if (sound == SHGUIsound.downloaded)
//			//			beepping.Play();
//			sounds.PlayDownloaded ();
//		else if (sound == SHGUIsound.driveloading)
//			sounds.PlayDriveLoading ();
//		else if (sound == SHGUIsound.incomingmessage)
//			//			beepping.Play ();
//			sounds.PlayIncomingMessage ();
//		else if (sound == SHGUIsound.finalscramble)
//			//			beepping.Play ();
//			sounds.PlayFinalScramble ();
//		else if (sound == SHGUIsound.restrictedpopup)
//			//			beepping.Play ();
//			sounds.PlayRestrictedPopup ();
//		else if (sound == SHGUIsound.messageswitch)
//			//			beepping.Play ();
//			sounds.PlayMessageSwitch ();
//		else if (sound == SHGUIsound.noescape)
//			//			beepping.Play ();
//			sounds.PlayNoEscape ();
    }
예제 #2
0
 public SHGUIplaysound(SHGUIsound sound)
 {
     this.sound = sound;
 }