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

            Thread.Sleep(NoteTimeout);
        }