1
0
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:
LmeSzinc
2020-11-16 21:16:27 +08:00
parent 9bdd2299c7
commit ace77fa1c7
6 changed files with 86 additions and 11 deletions

View File

@@ -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: