code refactor
This commit is contained in:
parent
54bcc2036a
commit
d8b165844c
16
src/tile.py
16
src/tile.py
@ -6,13 +6,15 @@ from adm_mine import ADMMine
|
|||||||
|
|
||||||
|
|
||||||
class Tile:
|
class Tile:
|
||||||
def __init__(self,
|
def __init__(
|
||||||
number: int,
|
self,
|
||||||
weight: int,
|
number: int,
|
||||||
visibility: str,
|
weight: int,
|
||||||
stability: str,
|
visibility: str,
|
||||||
ground: str,
|
stability: str,
|
||||||
mine: Union[None, APMine, ATMine, ADMMine] = None):
|
ground: str,
|
||||||
|
mine: Union[None, APMine, ATMine, ADMMine] = None
|
||||||
|
):
|
||||||
self.number = number
|
self.number = number
|
||||||
self.mine = mine
|
self.mine = mine
|
||||||
self.weight = weight
|
self.weight = weight
|
||||||
|
Loading…
Reference in New Issue
Block a user