Exemple #1
0
        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);
        }
Exemple #2
0
        private void PressNote(GuildWarsControls key)
        {
            PressKey(key, CurrentOctave.ToString());

            Thread.Sleep(NoteTimeout);
        }