Beispiel #1
0
        private void IncreaseOctave()
        {
            switch (CurrentOctave)
            {
            case BellNote.Octaves.Low:
                CurrentOctave = BellNote.Octaves.Middle;
                break;

            case BellNote.Octaves.Middle:
                CurrentOctave = BellNote.Octaves.High;
                break;

            case BellNote.Octaves.High:
                break;

            default:
                throw new ArgumentOutOfRangeException();
            }

            PressKey(GuildWarsControls.EliteSkill, CurrentOctave.ToString());

            Thread.Sleep(OctaveTimeout);
        }
Beispiel #2
0
 private void PressNote(GuildWarsControls key)
 {
     PressKey(key, CurrentOctave.ToString());
     Thread.Sleep(NoteTimeout);
 }