refactoring to game base class

This commit is contained in:
2022-10-17 17:25:20 +02:00
parent d9b8434484
commit c8e7c4d60c
3 changed files with 10 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
import cv2 as cv
from utils import dig_point, check_for_ok_button
from game_base_class import GameBase
from window_capture import WindowCapture
class Mine(GameBase):
@@ -8,6 +9,8 @@ class Mine(GameBase):
def __init__(self, overlay):
super().__init__(overlay)
self.capture_window = WindowCapture(None, "screen_conf", self.config)
self.level = 1
self.width = 32