Ejemplo n.º 1
0
 void select(int i)
 {
     game.PlaySound(SelectSound);
     Items[i].Selected();
     if (Items[i].Enabled && !string.IsNullOrEmpty(Items[i].OnSelectScript))
     {
         game.Console.Run(Items[i].OnSelectScript);
     }
 }
Ejemplo n.º 2
0
 public void PlayDeathSound()
 {
     if (Mute)
     {
         return;
     }
     Game.PlaySound("elegantdying");
 }