refactoring to game base class
This commit is contained in:
3
mine.py
3
mine.py
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user