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); } }
public void PlayDeathSound() { if (Mute) { return; } Game.PlaySound("elegantdying"); }