code refactor

This commit is contained in:
matixezor 2021-05-18 00:10:37 +02:00
parent 54bcc2036a
commit d8b165844c

View File

@ -6,13 +6,15 @@ from adm_mine import ADMMine
class Tile:
def __init__(self,
number: int,
weight: int,
visibility: str,
stability: str,
ground: str,
mine: Union[None, APMine, ATMine, ADMMine] = None):
def __init__(
self,
number: int,
weight: int,
visibility: str,
stability: str,
ground: str,
mine: Union[None, APMine, ATMine, ADMMine] = None
):
self.number = number
self.mine = mine
self.weight = weight