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:
parent
7eceec34ca
commit
5971c9dadd
1 changed files with 3 additions and 0 deletions
|
@ -10,3 +10,6 @@ class Wall:
|
||||||
def __init__(self, type_: WallType, paint: typing.Optional[int] = None):
|
def __init__(self, type_: WallType, paint: typing.Optional[int] = None):
|
||||||
self.type: WallType = type_
|
self.type: WallType = type_
|
||||||
self.paint: typing.Optional[int] = paint
|
self.paint: typing.Optional[int] = paint
|
||||||
|
|
||||||
|
def __repr__(self):
|
||||||
|
return f"Wall(type_={repr(self.type)}, paint={self.paint})"
|
||||||
|
|
Loading…
Reference in a new issue