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