adoptar padrão de código python
This commit is contained in:
@ -15,7 +15,8 @@ class Mapa:
|
|||||||
self.id_mapa = id(self)
|
self.id_mapa = id(self)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return f'Dados Mapa ({self.id_mapa})\n\tdimensao: {self.dimensao[0]} x {self.dimensao[1]}'
|
return f'Dados Mapa ({self.id_mapa})\n \
|
||||||
|
\tdimensao: {self.dimensao[0]} x {self.dimensao[1]}'
|
||||||
|
|
||||||
def inicializar(self, aleatorio: bool = False) -> list:
|
def inicializar(self, aleatorio: bool = False) -> list:
|
||||||
# inicializar mundo
|
# inicializar mundo
|
||||||
|
|||||||
Reference in New Issue
Block a user