private void IncreaseOctave() { switch (CurrentOctave) { case FluteNote.Octaves.Low: CurrentOctave = FluteNote.Octaves.High; break; case FluteNote.Octaves.High: break; default: throw new ArgumentOutOfRangeException(); } PressKey(GuildWarsControls.UtilitySkill3, CurrentOctave.ToString()); Thread.Sleep(OctaveTimeout); }
private void PressNote(GuildWarsControls key) { PressKey(key, CurrentOctave.ToString()); Thread.Sleep(NoteTimeout); }