mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Add: Handle mechanism and land_based
This commit is contained in:
@@ -84,6 +84,17 @@ class SelectedGrids:
|
||||
|
||||
return SelectedGrids(result)
|
||||
|
||||
def set(self, **kwargs):
|
||||
"""
|
||||
Set attribute to each grid.
|
||||
|
||||
Args:
|
||||
**kwargs:
|
||||
"""
|
||||
for grid in self:
|
||||
for key, value in kwargs.items():
|
||||
grid.__setattr__(key, value)
|
||||
|
||||
def add(self, grids):
|
||||
"""
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user