mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2025-12-17 00:15:13 +00:00
refactor(sweep): change parameter order
This commit is contained in:
parent
e61afaf43b
commit
299bd6c687
@ -22,7 +22,7 @@ class BountyUI(UI):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def enter_stage(self, index: int) -> bool:
|
def enter_stage(self, index: int) -> bool:
|
||||||
if BOUNTY_LIST.select_index_enter(index, self):
|
if BOUNTY_LIST.select_index_enter(self, index):
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
@ -148,8 +148,8 @@ class StageList:
|
|||||||
|
|
||||||
def select_index_enter(
|
def select_index_enter(
|
||||||
self,
|
self,
|
||||||
index: int,
|
|
||||||
main: ModuleBase,
|
main: ModuleBase,
|
||||||
|
index: int,
|
||||||
insight: bool = True,
|
insight: bool = True,
|
||||||
sweepable: bool = True,
|
sweepable: bool = True,
|
||||||
offset: tuple[int, int] = (-20, -15),
|
offset: tuple[int, int] = (-20, -15),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user