reorder imports

This commit is contained in:
Semjon Kerner 2021-04-15 20:26:35 +02:00
parent 708f64fd7b
commit 363a0dd1bd
2 changed files with 10 additions and 14 deletions

View File

@ -1,18 +1,17 @@
import time import time
import typing import typing
import cv2
import logging
from threading import Thread from threading import Thread
from typing import Callable from typing import Callable
from typing import Optional from typing import Optional
import cv2
import logging
from fishy.engine.semifisher.fishing_event import FishEvent
from fishy.engine.common.window import WindowClient from fishy.engine.common.window import WindowClient
from fishy.engine.semifisher.fishing_mode import Colors, FishingMode from fishy.engine.semifisher.fishing_mode import Colors, FishingMode
from fishy.engine.common.IEngine import IEngine from fishy.engine.common.IEngine import IEngine
from fishy.engine.semifisher.fishing_mode import FishingMode
from fishy.engine.semifisher.fishing_event import FishEvent
from fishy.engine.semifisher import fishing_mode, fishing_event from fishy.engine.semifisher import fishing_mode, fishing_event
from fishy.engine.semifisher.pixel_loc import PixelLoc from fishy.engine.semifisher.pixel_loc import PixelLoc

View File

@ -5,20 +5,17 @@ also implements callbacks which is called when states are changed
""" """
import logging import logging
import time import time
import random
from fishy.engine.semifisher import fishing_mode
from playsound import playsound
from fishy import web
from fishy.engine.semifisher.fishing_mode import State, FishingMode
from fishy.helper import helper
import keyboard import keyboard
from playsound import playsound
from win32gui import GetWindowText, GetForegroundWindow from win32gui import GetWindowText, GetForegroundWindow
from fishy import web
from fishy.engine.semifisher import fishing_mode
from fishy.engine.semifisher.fishing_mode import State, FishingMode
from fishy.helper import helper
from fishy.helper.config import config from fishy.helper.config import config
import random
class FishEvent: class FishEvent:
fishCaught = 0 fishCaught = 0