mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 09:48:20 +08:00
Add: Predict missing movable enemy
- Fix enemy detection lost in full_scan(mode='movable') - Move basic functions to utils
This commit is contained in:
@@ -94,6 +94,16 @@ class SelectedGrids:
|
||||
"""
|
||||
return SelectedGrids(list(set(self.grids + grids.grids)))
|
||||
|
||||
def intersect(self, grids):
|
||||
"""
|
||||
Args:
|
||||
grids(SelectedGrids):
|
||||
|
||||
Returns:
|
||||
SelectedGrids:
|
||||
"""
|
||||
return SelectedGrids(list(set(self.grids).intersection(set(grids.grids))))
|
||||
|
||||
def delete(self, grids):
|
||||
"""
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user