private void KeyReleased(object sender, KeyEventArgs e) { if (KeyInterop.VirtualKeyFromKey(e.Key) == 32) { CatchCoordinate(MouseControl.GetCurrentCursorPosition()); } }
/// <summary> /// Drop empty vials and pick new stack /// </summary> private void TakeNewStack() { MouseControl.MoveStack(_placeToDrop, _placeInBackpack); MouseControl.MoveStack(_placeInBackpack, _placeWithPotions); }