def __init__(self, room_check_object=None): self.room_check = room_check_object or room_check.RoomCheck() self.map = {} self.map_current_pos = "start" self.map_antiduplicate_lastcoord = None self.map_antiduplicate_lastcoord_picked = None self.redo_limit = 0
def __init__(self, room_check_object=None): self.room_check = room_check_object or room_check.RoomCheck() self.reposition_max_wait = 0
def __init__(self, room_check_object=None): self.room_check = room_check_object or room_check.RoomCheck() self.solution_unsolved = {}
import room_check import pyautogui rc = room_check.RoomCheck() def avg(): print("x0 y0") input() pos = pyautogui.position() x0, y0 = pos.x, pos.y print("x1 y1") input() pos = pyautogui.position() x1, y1 = pos.x, pos.y print(x0, y0, x1, y1) print(rc.color_average_area((x0, y0, x1, y1), [30, 35, 35])) avg()