1
Fork 0
mirror of https://github.com/Steffo99/lihzahrd.git synced 2024-11-21 23:54:23 +00:00

Add missing repr to Wall

This commit is contained in:
Steffo 2020-04-17 16:35:12 +02:00
parent 7eceec34ca
commit 5971c9dadd

View file

@ -10,3 +10,6 @@ class Wall:
def __init__(self, type_: WallType, paint: typing.Optional[int] = None):
self.type: WallType = type_
self.paint: typing.Optional[int] = paint
def __repr__(self):
return f"Wall(type_={repr(self.type)}, paint={self.paint})"