remove unnecessary argument
This commit is contained in:
parent
4f6b562d9b
commit
176f14b0a3
@ -12,7 +12,7 @@ class TilesFactory:
|
||||
module = import_module(f'{img.mine_type.lower()}_mine')
|
||||
return Tile(number, 1, getattr(module, f'{img.mine_type}Mine')())
|
||||
else:
|
||||
return Tile(number, 1, None) if 'grass' in img.name else Tile(number, 20, None)
|
||||
return Tile(number, 1) if 'grass' in img.name else Tile(number, 20)
|
||||
|
||||
def get_tiles_list(self) -> List[Tile]:
|
||||
return [self.create_tile(i) for i in range(13)]
|
||||
|
Loading…
Reference in New Issue
Block a user