Exemplo n.º 1
0
        private void DecreaseOctave()
        {
            switch (CurrentOctave)
            {
            case HarpNote.Octaves.Low:
                break;

            case HarpNote.Octaves.Middle:
                CurrentOctave = HarpNote.Octaves.Low;
                break;

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

            default:
                throw new ArgumentOutOfRangeException();
            }
            PressKey(GuildWarsControls.UtilitySkill3, CurrentOctave.ToString());

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